I have a problem with exit trade at EOD end of trading session 11:00 PM. I am trying the following code.
tim=Param("Square off time ",230000,09000,240000);
StopLevel = Param( "Stop Loss (%)", 0.06, 0.01, 10, 0.01 );
TgtLevel = Param( "Profit target (%)", 0.25, 0.01, 10, 0.01 )...
Hi, I’m working on a intraday stock scanner which is plotting the signal on previous bars in many cases(see the attached image for clarification). I would be grateful if anyone can help me modifying its behavior and plot the signal on current bar.
Can you help me why below code not working & why?
_SECTION_BEGIN("MAX Moving Avg broke");
function fun_name(C,LB )
LB=IIf(IsNull(LB),1,LB) OR IIf(LB<=0,1,LB);
for( i = 0; i < BarCount; i++ )
Please help me debug following code.
I am encountering error in 6th line when accessing the array Close beyond a certain index. The error encountered is following:
Error 10. Array subscript out of range. You must not access array elements outside 0..(BarCount-1) range. You attempted...