Discussion of article "Expert Advisor based on the "New Trading Dimensions" by Bill Williams" - page 3

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
Cleaned it up, fixed it:
Version "1.002" - now "no money to open a position" errors are much less:
Oh, great! Thanks ! Let's see !
This is how (in the attached file) the testing of the Expert Advisor in the terminal of a well-known broker looks sad. The trawl does not work, and since margin control is not provided, trades are opened but not closed until the end of testing, and then it's the end.
But it does not happen in all terminals, thank God! in adequate ones it happens correctly.
Thank you for keeping the Expert Advisor code up to date!
This is how (in the attached file) the testing of the Expert Advisor in the terminal of a well-known broker looks sad. The trawl does not work, and since margin control is not provided, trades are opened but not closed until the end of testing, and then it's the end.
But it does not happen in all terminals, thank God! in adequate ones it happens correctly.
Thank you for keeping the Expert Advisor code up to date!
Position modification fixed: version "1.003"
Changes made:
if you replace line 422 if(exp_trade.PositionModify(m_Symbol,NormalizeDouble(StopLoss,s_info.Digits()),pos_info.TakeProfit())) in version "1.002" with
if(exp_trade.PositionModify(m_Symbol,s_info.NormalisePrice(StopLoss),pos_info.TakeProfit()))
same picture
if you replace line 422 if(exp_trade.PositionModify(m_Symbol,NormalizeDouble(StopLoss,s_info.Digits()),pos_info.TakeProfit())) in version "1.002" with
if(exp_trade.PositionModify(m_Symbol,s_info.NormalisePrice(StopLoss),pos_info.TakeProfit()))
same picture
We need screenshots from you:
if you replace line 422 if(exp_trade.PositionModify(m_Symbol,NormalizeDouble(StopLoss,s_info.Digits()),pos_info.TakeProfit())) in version "1.002" with
if(exp_trade.PositionModify(m_Symbol,s_info.NormalisePrice(StopLoss),pos_info.TakeProfit()))
same picture
Just "replace" something in the file "h_ts_bw.mqh" is not enough. You also need to COMPILE the EA file "tc_bw_new_version_2-02.mq5".
Well, that's not serious. Do you really think it wasn't done!? Insulting.
RoboForex terminal, hedge account.
Well, you're not serious. Do you really think it hasn't been done!? Insulting.
Yeah, great. So we'll just keep looking.