I would like to add a function that can close all long or short position at 16:10:00 everyday
How to add this time exit function to the following simple program?
AvgLine = MA (50);
Buy=Cover=Cross(C, AvgLine);
Sell=Short=Cross( AvgLine ,C);
Buy = Exrem(Buy,Sell);
Buy = Exrem(Sell,Buy);
Many Thanks!!!
How to add this time exit function to the following simple program?
AvgLine = MA (50);
Buy=Cover=Cross(C, AvgLine);
Sell=Short=Cross( AvgLine ,C);
Buy = Exrem(Buy,Sell);
Buy = Exrem(Sell,Buy);
Many Thanks!!!
