- Search Crypto Craft
-
magnumfreak replied Jun 19, 2008by using the FileOpen and then FileWrite functions, complete details in the help file for mt4.
Help with simple task using MetaTrader
-
magnumfreak replied Jun 19, 20081. TimeHour(CurrentTime()); TimeMinute(CurrentTime()); assign each of these to an integer and simply do a comparison to determine if the current time matches your requirement. 2. If it is the same currency and the same time frame you can simply use ...
Newbie needs some help fixing his code...
-
magnumfreak replied Jun 19, 2008Thanks for posting. I am going to download it and test it on a few pairs to see how it does.
Self Learning Indicators
-
magnumfreak replied Jun 19, 2008All of the stochastics that I use are all overbought on the 60 min. I would wait for a break and close below the monthly pivot at 1.9696 for a confirmation. If you are more agressive you could get in earlier but I tend to take a very conservative ...
Auslanco - GBP/JPY and GBP/USD (newstrade)
-
magnumfreak replied Jun 19, 2008post the file itself. The way your post is laid out it is no wonder no one wants to try and decode it.
Help with EA - Code Error
-
magnumfreak replied Jun 19, 2008Change this: for(i = 0; i <= limit; i++) To:limit = IndicatorCounted(); for(i = limit; i >= 0; i--)
Help with SMA200 oversold&overbought code!!
-
magnumfreak replied Jun 19, 2008if this is for an indicator, the sleep function does not work. Sleep is only for EA's
Trouble with While Loops?
-
magnumfreak replied Jun 18, 2008instead of using the Time function in the newbar function, just use iTime. It will let you specify which timeframe to look at.
Control of the NewBar() Function
-
magnumfreak replied Jun 18, 2008Try this version. I don't think you will get multiple emails or alerts but if you do, just let me know and I will make an adjustment.
Email Function on ZUP indicator
-
magnumfreak replied Jun 18, 2008In your statement that closes the order add two additional steps. 1. Reset i to 0. 2. reset total = OrdersTotal. if(OrderType()==OP_SELL){ OrderClose(OrderTicket(),OrderLots( ),Ask,Slippage,clr_close); i=0; total=OrdersTotal(); } This will force it ...
OrderSelect() Index Problem
-
magnumfreak replied Jun 18, 2008How about a little HAMMERTIME!!
Cesarnc's market talk, gossips, rumours & fun
-
magnumfreak replied Jun 18, 2008post your code so someone can look at it.
Trouble with While Loops?
-
magnumfreak replied Jun 18, 2008just open two charts and attach one EA to one chart and the other EA to the other chart.
Login to the account with the EA
-
magnumfreak replied Jun 17, 2008Wow! Based on his one little statement you were able to determine the exact method that he programs under. When you are not writing code do you perhaps work as a psychic?? Even creating individual codes in small segments can create major headaches ...
Should I Learn MQL4 and WHY?
-
magnumfreak replied Jun 17, 2008Try this, it is set up for a simple moving average with a 100 pip offset for the second line.
Adding MovingAverage+100pips line to my MA indicator
-
magnumfreak replied Jun 17, 2008There are two ways to go about this: 1. Don't make your own indicator for a moving average. Use the one included with mt4 and then add a level at +100. 2. Create one with your indicator by adding another indicator buffer and then adding 100 pips to ...
Adding MovingAverage+100pips line to my MA indicator
-
magnumfreak replied Jun 17, 2008Sure. If you know the name of the trendline, you can determine its value at any point on the trendline by using the ObjectGetValueByShift function. You just need an ea to monitor that value and place the order.
Sell Signal With A Simple Trendline ?
-
magnumfreak replied Jun 17, 2008Sorry about that, happens when I try to write code sleepy. LOL! Try this version and see if it works for you.
Bar Hour code for indicator
-
magnumfreak replied Jun 17, 2008I haven't tested it but it should be fine. You can turn off the Alert and/or the email feature in the input section of the indicator.
Help with CCI indicator