I back tested my strategy, and found that it is more effective between 0000 and 1459 everyday on the forex market.
I used this video:
Using the SecondsFromTime() and SecondsTillTime() functions, I was able to test my strategy.
However, when I go to the Order thinkScript Editor, I do not know how to do this.
I am using the MovAvgTwoLinesStrategy for backtesting.
I am using the MovAvgTwoLines Study for the Order.
I think the study and the strategy are related, as they are named similarly, but they are coded a bit differently.
I am also familiar with the Condition Wizard, but again, I'm not sure how to implement this.
I have done some coding classes, and can copy code, and modify some numbers, move some things around, but as for writing new constructive code, that becomes a challenge for me.
I have been able to piece together different snippets of code to test RSI, bollinger bands, TTM Squeeze in some combinations. But, that is the extent of my abilities at this time.
I think this would be useful for those trying to trade the stock market, and control their orders between premarket and postmarket hours, or between market hours, as well.
thank you all for your help and feedback.
I used this video:
Using the SecondsFromTime() and SecondsTillTime() functions, I was able to test my strategy.
However, when I go to the Order thinkScript Editor, I do not know how to do this.
I am using the MovAvgTwoLinesStrategy for backtesting.
I am using the MovAvgTwoLines Study for the Order.
I think the study and the strategy are related, as they are named similarly, but they are coded a bit differently.
I am also familiar with the Condition Wizard, but again, I'm not sure how to implement this.
I have done some coding classes, and can copy code, and modify some numbers, move some things around, but as for writing new constructive code, that becomes a challenge for me.
I have been able to piece together different snippets of code to test RSI, bollinger bands, TTM Squeeze in some combinations. But, that is the extent of my abilities at this time.
I think this would be useful for those trying to trade the stock market, and control their orders between premarket and postmarket hours, or between market hours, as well.
thank you all for your help and feedback.