| PureBytes Links Trading Reference Links | Hello,
How can I remove the small red and green down arrows ?
The issue lies into these two lines :
    PlotShapes( shapeCircle*PivotLow, colorGreen, 0, L, -20 ) ;
    PlotShapes( shapeCircle*PivotHigh, colorRed, 0, H, 20 ) ;
I can't get rid of them. I want to keep only the shapecircles.
Thank you for the help.
Best Regards
// RSIc
// courtesy by Dimitri Tsokakis
// mod "Circle pivot"
procedure RSIc( n )
{
    C = RSIa( C, n );
    O = RSIa( O, n );
    H = RSIa( H, n );
    H = IIf( H < Max( C, O ), Max( C, O ), H );
    L = RSIa( L, n );
    L = IIf( L > Min( C, O ), Min( C, O ), L );
}
n = Param( "n", 10, 5, 30, 5 );//RSI sensitivity
RSIc( n );
Plot( C, "RSIc(" + n + ")", 1, 64 );
_SECTION_BEGIN( "ZIG - RSIc" );
ZigPerc = Param( "ZigZag-HL %", 9.5, 1, 15, 0.1 );
ShowZig = ParamToggle( "ZigOnRSIc", "No|Yes", 1 );
if ( ShowZig )
{
    pk = PeakBars( H, ZigPerc ) == 0;
    tr = TroughBars( L, ZigPerc ) == 0;
    pkbars = PeakBars( H, ZigPerc );
    _TRACE( "pkbars = " + pkbars );
    trbars = TroughBars( L, ZigPerc );
    zHi = Zig( H, ZigPerc );
    zLo = Zig( L, ZigPerc );
    HLAvg = ( zHi + zLo ) / 2;
    zp2 = IIf( pk, zHi, IIf( tr, zLo, IIf( pkbars <= trbars, L, H ) ) );
    za2 = Zig( zp2, ZigPerc );
    Slopeza2 = za2 - Ref( za2, -1 );
    Plot( za2, "Zig RSIc", 11, 5 | styleNoLabel );//Zig H-L
    PivotLow = Ref( IIf( Ref( ROC( za2, 1 ), -1 ) < 0 AND ROC( za2, 1 ) > 0, 1, Null ), 1 );
    PivotHigh = Ref( IIf( Ref( ROC( za2, 1 ), -1 ) > 0 AND ROC( za2, 1 ) < 0, 1, Null ), 1 );
    PlotShapes( shapeCircle*PivotLow, colorGreen, 0, L, -20 ) ;
    PlotShapes( shapeCircle*PivotHigh, colorRed, 0, H, 20 ) ;
}
_SECTION_END();
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
Yahoo! Groups Links
<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
    Individual Email | Traditional
<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)
<*> To change settings via email:
    amibroker-digest@xxxxxxxxxxxxxxx 
    amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 |