Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 620
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
What is ma2 ?
Meaning of the slip indicator
The value of the sliding bar indicator
Print the value of the slides. Because of the ticks on the zero bar, the value of the MA on the second bar does not change.
Here you have each tick coming in and changing the same value in the order.
Print the value of the slides. Because of the ticks on the zero bar, the value of the MA on the second bar does not change.
Here you have each tick coming in and changing the same value in the order.
I simply changed the check to if(OrderOpenPrice()!=NormalizeDouble(ma1,Digits) and the error disappeared. I'll take your comment into account though, thanks
Then pay attention to the price in the trade order. Buy closes at Bid, Sell closes at Ask. You have no check for order type there and therefore no price choice - either Ask or Bid
Only sells are opened in the EA. That is why I have not specified it explicitly. Or maybe you should still specify it and it may cause an error. I have closed a sell on Ask.
In the EA, only sells are opened. That's why I didn't specify it explicitly. Or should I specify it anyway, maybe it is the cause of error? And I am closing a sell on Asc.
Maybe try it this way:
I have entered a symbol and a magik in the variables to be passed. You don't have a check for them.
I just changed the verification to if(OrderOpenPrice()!=NormalizeDouble(ma1,Digits) and the error disappeared. I'll take your comment into account though, thanks.
I'm trying to copy the file programmatically, from the script. It doesn't work. What's the right way?
I'm trying to copy the file programmatically, from the script. It doesn't work. What's the right way?
Thanks!!!!!!!!!!!!
If you don't think it's impertinent.....:))) advise how to run the Tester properly. The way I'm trying, it's not working.