Basic Entry for EA
Hello,
I have been writing very basic stuff, and from this code I don't understand why not all the candles are accounted for. It should be the case that each candle is a new trade, but yet there are some gaps in dates aside from the weekend (according to my trade history and the visualization it is obvious that candles have been missed. Also, it is obvious that a candle is never equal to the moving average (it is way above, yet no trade for some reason).
Any help would be epic!
It is hard to see because we don't know what `mrate` and `MA1Val` are .
Hello,
I have been writing very basic stuff, and from this code I don't understand why not all the candles are accounted for. It should be the case that each candle is a new trade, but yet there are some gaps in dates aside from the weekend (according to my trade history and the visualization it is obvious that candles have been missed. Also, it is obvious that a candle is never equal to the moving average (it is way above, yet no trade for some reason).
Any help would be epic!