Toronto
Experience: Beginner
Platform: ninja
Trading: CL
Posts: 63 since Oct 2009
Thanks Given: 80
Thanks Received: 3
|
For auto strategy, i want to know that I am working on price movement based strategy. I have condition for buy & sell working good, but if i need that every hour it should take trade based on one same condition. what code should i use for 8.30 then 9.30 then 10.30 & so on.For this i have to put the same code every time for every hour which is too lengthy .
Like for buy at
if (ToTime(Time[0]) == ToTime(8, 30, 0) ( this is for one trade at 8.30)
I want to now if one code is sufficient for multiple trades at different times like 9.30,then10.30 & so on .
|