Forum

Highest

Hi Guy, I am learnig and I don't know how I have to code the previous highest of 1 day to trigger the Entry. I used this code in declarion of variable: int HighDayBefore= iHighest(NULL, PERIOD_H1, MODE_HIGH, 24, 0); and then the array double HH=High[HighDayBefore]. But it doesn't buy at that

CODE TO SET UP STOPLOSS as indicator

Hi, guys I need to learn what is the code for set up the stop loss as MA or for example fractals or highest or lowerst, one or them less atr example is correct this code? double MASTOP= iMA(NULL,PERIOD_M5,34,0,MODE_EMA,PRICE_CLOSE,0); double STOP=MASTOP; THEN IN THE ORDER SEND

EA and back testing for Spot index, metals and commodities

Hi guys, I am not advanced coder in mql4 but I am learning the basic. Here I would like to an help about how i have adapt the code that I tested on currencies for index, metals and commodities . My broker has 5 digits so I fixed SL and TP at xxx points. examples for German 30 I have this price

Stoploss an alternative methods

Hi guys, I am a newrier to MQL 4 but I have already coded some EA and testing. But I am not a professional or expert programmer so I need to an help. I would like to know how I can set the STOP LOSS for sell and buy market order using a fractal. I meanI would like to have a STOPLOSS= fractals or

Stoploss an alternative methods

Hi guys, I am a novist to MQL 4 but I have already coded some EA and testing. But I am not a professional or expert programmer so I need to an help. I would like to know how I can set the STOP LOSS for sell and buy market order using a fractal. I mena I would like to have a STOPLOSS= fractals. I