|
Kolkata+India
Posts: 27 since Aug 2012
Thanks Given: 10
Thanks Received: 1
|
Hello Boarders
in developing intraday system how we could use the concept of timed exit at a certain time of the trading hours?
it must be applicable for range bars also beside the actual time frame ( for any tf its easy but for range bars - what to do?)
for example - we take a simple ma crossover system of a fast average and slow average.
f=fast average;
s=slow average;
so the buy and sell will be
buy=Cross(f,s);
sell=Cross(s,f); // and exit at 2300 hrs;
plot (C,"",colorgreen, 64);
PlotShapes( IIf( Buy, shapeUpArrow, shapeNone ), 51 );
PlotShapes( IIf( Sell, shapeDownArrow, shapeNone ), 42);
now if to implement that the sell condition also have a timed exit part - i.e. at a certain time - lets say at 2300 hrs - all active trade will be closed - be it buy or sell.
what is the code to be used for the timed exit?
in a breakout system, what will be a good cover and exit condition?
breakout condition for bur or sell ( cover/exit logic, code needed for this buy/sell trade)
Buy =Cross( C, Ref( HHV(H,Buyperiods), -1 )) ;
Sell =Cross(Ref(LLV(Low,Sellperiods),-1),C) ;
what condition can we apply here in the buy or sell for a good cover or exit from the trade?
rgds
sr
|