is there a reason why it should be coded this way in order to get the required result
I was trying to create a condition to check if either the type of trade is position buy or sell and below is the outcome
if(OrderType() == (OP_BUY || OP_SELL)) >>>>>>> did not work properly
if(OrderType() ==...
I need some advice for the below code if you please,
Period_MA is an external variable and I set it to 20, but when I am testing my code by changing
for(x=i; x<i+Period_MA; x++)
to
for(x=i; x<=i+Period_MA; x++)
the moving average disappear from the chart
int Counted_Bars =...
I had a problem with the EA that when I used the function created, the EA would execute only the buy orders and for the sell order it sends to the journal the note that I mention in else, for sell execution, but after I deleted the below underlined 2 lines it executed both sell and buy order. I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.