
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
HI,
I have a few indicators that I set a Global trigger to eg TriggerHit=Sell.
What I am trying to do is count the candles after the trigger so that I can reset the Trigger to=Null.
I have looked at iBarShift, I also need to have it run the routine only once per candle/tick.
i've probably got it completely wrong.
1) Check that its a new candle before doing the function.
2) Counting the candles after trigger is set.
Any help is gratefully appreciated.