I'm attaching below a screen shot of the DMI indicator and showme study on a 2min chart of QQQ. The TradeStation 7 code for the ShowMe study is below.
There are probably other discretionary and non-discretionary rules that are needed for the entry signal alone, not to mention the absolutely essential profit target, trailing stop and loss stops.
Any comments/suggestions would be greatly appreciated.
inputs:
Length( 15 ),
ADXTrend( 25 ) ;
variables:
oDMIPlus( 0 ),
oDMIMinus( 0 ),
oDMI( 0 ),
oADX( 0 ),
oADXR( 0 ),
oVolty( 0 ) ;
Value1 = DirMovement( H, L, C, Length, oDMIPlus, oDMIMinus, oDMI, oADX, oADXR,
oVolty ) ;
if oADX crosses above oDMIPlus and oDMIPlus > oDMIMinus then plot1(low - (low*.001),"Buy",blue,default,5);
if oADX crosses above oDMIMinus and oDMIMinus > oDMIPlus then plot2(high + (high*.001),"Short",magenta,default,5);