Good evening, I would like to take a signal as soon as the stochastic crosses but I would not like the position to be taken if the signal has been present for one minute. Do you know how I can add this notion of time?
Thank you in advance for your answers!
- Problem on the Stochastic indicator
- One for all. General exeprt.
- Traders joking, the beginning
Hugo Tram:
Good evening, I would like to take a signal as soon as the stochastic crosses but I would not like the position to be taken if the signal has been present for one minute. Do you know how I can add this notion of time?
Thank you in advance for your answers!
use M1 bars the signal will appear on the close of a bar, when you get to the next bar 1 minute is up
of use GetTickCount() to measure the time difference you require
either way better if you you show your attempt
Hugo Tram:
Use M1, when signal at candle0, MARK, take a signal as soon as the stochastic crosses but not if the signal has been present for one minute.
wait 1 candle, if no more signal, then place order otherwise delete/clear previous remembered signal (MARK)
Okay, thank you very much for your answers, but how do you write the M1 candle count in mql4 language?
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