Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Tony Version V.1 for Amibroker (AFL)

Rating:
0 / 5 (Votes 0)
Tags:
amibroker

_SECTION_BEGIN(“+Tony”);

Q = Param( “% Change”, 5, 0.1, 10, 0.1 );
Z = Zig( C , q ) ;
HH = ( ( Z < Ref( Z, -1 ) AND Ref( Z, -1 ) > Ref( Z, -2 ) ) AND (Peak( z, q, 1 ) > Peak( Z, q, 2 ) ) );
LH = ( ( Z < Ref( Z, -1 ) AND Ref( Z, -1 ) > Ref( Z, -2 ) ) AND (Peak( Z, q, 1 ) < Peak( Z, q, 2 ) ) );
HL = ( ( Z > Ref( Z, -1 ) AND Ref( Z, -1 ) < Ref( Z, -2 ) ) AND (Trough( Z, q, 1 ) > Trough( Z, q, 2 ) ) );
LL = ( ( Z > Ref( Z, -1 ) AND Ref( Z, -1 ) < Ref( Z, -2 ) ) AND (Trough( Z, q, 1 ) < Trough( Z, q, 2 ) ) );
GraphXSpace = 5;
dist = 0.5 * ATR;

for ( i = 0; i < BarCount; i++ )
{
if ( HH[i] )
PlotText( “- -Tony StrongSELL”, i, H[ i ] + dist[i], colorRed );

if ( LH[i] )
PlotText( “-Tony Sell”, i, H[ i ] + dist[i], colorOrange );

if ( HL[i] )
PlotText( “+Tony BUY”, i, L[ i ] – dist[i], colorBlue );

if ( LL[i] )
PlotText( “++Tony StrongBUY”, i, L[ i ] – dist[i], colorBrightGreen );

}

Filter=HH OR HL OR LH OR LL;
AddColumn(HH,“HH”,1);
AddColumn(LH,“LH”,1);
AddColumn(HL,“HL”,1);
AddColumn (LL,“LL”,1);

Buy = HL OR LL;
Sell = HH OR LH;
SellPrice=ValueWhen(Sell,H,1);
BuyPrice=ValueWhen(Buy,L,1);
//Long=Flip(Buy,Sell);
//Shrt=Flip(Sell,Buy );
Plot( Flip( Buy, Sell ), “BUY”, colorDarkGreen, styleArea | styleOwnScale, 0, 20 );

Shape = (Buy * shapeSmallUpTriangle + Sell * shapeSmallDownTriangle);
PlotShapes( shape, IIf( Buy, colorBlue, colorYellow ),0, IIf( Buy, Low,High ));
_SECTION_END();

Screenshots

You cannot view the code for the following reasons:
  • The indicator has been reviewed by the Administrator and not approved. Please do not ask for access.

2 comments

1. Tonynguyen

this will be helpfull

2. pankit

lots of error showing

Leave Comment

Please login here to leave a comment.

Back