Long/short after a period of time.
#2
Did you see this video?

https://youtu.be/6-74ZhrG0BE

Quote:Basically I want to make a trade after a specified amount of time has passed from the last trade.

Inside your check function you want to register the time (the candle time, this way your strategy will also work in backtests) you do an advice. And every following check you want to see if you did a trade x time ago, and if so do another one.
  Reply


Messages In This Thread
Long/short after a period of time. - by slav - 10-08-2018, 12:32 AM
RE: Long/short after a period of time. - by askmike - 10-08-2018, 06:22 AM
RE: Long/short after a period of time. - by slav - 10-08-2018, 12:18 PM

Forum Jump:


Users browsing this thread: