Thanks for the good work! Reading your code is a good way to learn ;-)
I think there is a error in the call to your OpenSell function
OpenSell(m_symbol.Ask()+ExtTakeProfit,m_symbol.Bid()-ExtStopLoss);
This call gives wrong tp and sl
I think the correct call should be:
OpenSell(m_symbol.Bid()+ExtStopLoss, m_symbol.Ask()-ExtTakeProfit);
best regards
Markus
Thanks for the good work! Reading your code is a good way to learn ;-)
I think there is a error in the call to your OpenSell function
OpenSell(m_symbol.Ask()+ExtTakeProfit,m_symbol.Bid()-ExtStopLoss);
This call gives wrong tp and sl
I think the correct call should be:
OpenSell(m_symbol.Bid()+ExtStopLoss, m_symbol.Ask()-ExtTakeProfit);
best regards
Markus
There are no rules regarding the issue of TakeProfit and StopLoss. Everyone does as he likes :). Subtlety begins only with those who try to set the levels of the close to the current price.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
N- candles v2:
We look for N identical candles in a row. If the found candles bull — we buy, if bear — we sell.
Author: Vladimir Karputov