How can I get info when pips go fast in wrong direction?
Created at 22 Jun 2021, 06:35
How can I get info when pips go fast in wrong direction?
22 Jun 2021, 06:35
hi,
my robot will place direction Sell and TP is 40 pips,
but between this time direction Buy go to direction and can reach 30 pips or more in one minute and I have big minus here.
I need to find solution how can I stop robot in this way.
Regards & thanks for your help.
AlgoGuru
22 Jun 2021, 15:17
RE:
if (position.Pips < -30)
{
//do anything
}
If you need more help please contact with me: www.algoguru.hu
@AlgoGuru