Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.
ONE- started following Time Delay (to Avoid Whipsaw) for EasyLanguage / PowerLanguage?
Hello, I am having trouble coding a time delay after a trade occurs (buy or sell, open or close) to avoid my automated strategy making a ton of trades as the price action whipsaws and signals my indicators true/false. Can anyone provide some suggestions here? For instance, (I will set a time delay of say 15 minutes)... if my combo of indicators goes true at 10:20AM and a Long position is opened, I don't want these indicators to be evaluated again before 10:35AM. I want my strategy to run in real time and not on bar close b/c of the action I'm missing in that bar. However, right now all that my strategy will do is rack up commission fees. Any help is greatly appreciated! I'm using Multicharts. Thanks!!