Wait candle close MA cross
-
Hello!
I dunno, have try thousand times but so simple thing like I just don't understand how made?
So, let's make simple 5 to 50 MA cross and what ever I chosen, like crossing above or just above I don't get results like this. I want 5 crossing above 50 and don't do nothing when cross happening but have to wait when 4h candle close and then looking that if the cross was happened and open pending order candle High..
I'm quite sure that is simple but if somebody can make me this simple thing
? -
I'm sorry but I'm afraid I don't fully understand what you want. If I guess correctly tiy want a two MA crossing on one time frame (lower that 4H?) that is then conditioned by the 4H timeframe. Could you please confirm?
-
@l-andorrĂ This is simple example only, both MA's is 4H timeframe, 5 MA crossing over 50 MA and place trade only when MA's cross has happened and WAIT when candle is close, this same 4H candle what cause crossing over each others. Exact this time when candle cloe or open next one dosn't care how code this one, price level is same.
Is make simple crossing then EA open trade middle of candle or open multiple orders because when candle close going up and down in 4h time then MA's cross happening also multiply times etc. -
Ok. You can begin with something like this (for sells only):
-
@l-andorrĂ Looks fine now, tnx a lot
