sentinelx:
Hello all,
I want to set a condition of opening a buy order which will be : open a 'buy' order only if the previous order was also 'buy'.
Can anyone assist me in setting this condition?
set a simple parameter,
ex: when you made buy: value = 1; when you made sell: value = 2
then when next signal arrises: check if value of parameter is 1 or 2.
reset parameter when it needs to be reset.
Financialarts:
Thanks a lot. But i instead used this condition for buy :- (Buy_opened==true)
set a simple parameter,
ex: when you made buy: value = 1; when you made sell: value = 2
then when next signal arrises: check if value of parameter is 1 or 2.
reset parameter when it needs to be reset.
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
Hello all,
I want to set a condition of opening a buy order which will be : open a 'buy' order only if the previous order was also 'buy'.
Can anyone assist me in setting this condition?
Thanks in advance