First of all
You do not call the function CloseCondition(), so how do you expect it to be implemented?
Other than that, in CloseCondition() you call the function CloseOrder() and you send parameters OP_BUY or OP_SELL, but the function is expecting a price. Please note that price should be a double, not an integer
First of all
You do not call the function CloseCondition(), so how do you expect it to be implemented?
Other than that, in CloseCondition() you call the function CloseOrder() and you send parameters OP_BUY or OP_SELL, but the function is expecting a price. Please note that price should be a double, not an integer
if(OrderProfit()>0) Function only execute when Profit is bigger then 0.00$ not Points in this case.
It works for now, but I would to put instead the same amount of Points/pips like my sl is set.
My sl is set by the Lowest[3] or Highest[3].
I know I have to OrderSelect() and then OrderOpenPrice()+Point from StopLoss.
I’m asking for samples to look at them or please point me where it may have been discussed
or more info then one line reference
Thank you very much
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
0=errors 0=warnings
implemented in the code not working please help.
thanks