Monday – Friday : 9:00 AM – 6:30 PM

Guppy Graph indicator

The Guppy Graph Indicator within Amibroker AFL offers a visual representation of market trends. Utilizing the Amibroker data feed, this AFL displays multiple moving averages on a chart, presenting a graphical depiction of trend strength and direction. Traders analyze the interplay of these moving averages to discern potential entry or exit signals. The Guppy Graph Indicator aids in visualizing trend dynamics, allowing traders to assess market conditions at a glance and make timely decisions based on the displayed patterns.

/*The Guppy Multiple Moving Average (GMMA) indicator tool is based on the relationships between groups of moving averages. 
Each group of averages in the GMMA provides insight into the behavior of the two dominant groups in the market - traders and investors. 
The indicator allows the trader to understand the market relationships shown in the chart and so select the most appropriate trading methodology and the best tools. 
The GMMA is designed to understand the nature of trend activity on an end of day, or intraday basis.

The inferred activity of traders is tracked by using a group of short term moving averages. 
The traders always lead the change in trend. 
Their buying pushes up prices in anticipation of a trend change. 
Their activity is shown by a 3, 5, 8, 10, 12 and 15 day group of exponentially calculated moving averages. 

The trend survives only if other buyers also come into the market. 
Strong trends are supported by long term investors. 
The investor takes more time to recognize the change in a trend but he always follows the lead set by traders. 
We track the investors' inferred activity by using a group of long term moving averages. 
This group is 30, 35, 40, 45, 50 and 60 day exponentially calculated moving averages. 

The relationship within each of these groups tells us when there is agreement on value - when they are close together 
and when there is disagreement on value - when they are well spaced apart.

When we combine multiple moving averages, a short term group and a long term group, 
we can see when the market has reached an agreement about the value of the stock. 
This can be used to understand the strength of the trend. Sustained activity of the short term averages above the long term group confirms a strong trend. 
The short term group will fluctuate, but while the long term group is in a steady band it suggests long term support.

Signs of a weakening of the trend are when both groups of averages begin to narrow down 
and fluctuate more than is normal given their past recent activity. If both groups converge towards a crossover, then a trend reversal is signalled.

The relationship between the two groups tells the trader about the strength of the market action. 
A change in price direction that is well supported by both short and long term investors signals a strong trading opportunity. 
The crossover of the two groups of moving averages is not as important as the relationship between them.


_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));

SetChartBkColor( colorBlack ) ;
MaxGraph = 13;
/* blue lines */
Graph0= EMA( Close, 3 );
Graph1= EMA( Close, 5 );
Graph2= EMA( Close, 7 );
Graph3= EMA( Close, 10 );
Graph4= EMA( Close, 12 );
Graph5= EMA( Close, 15 );
Graph0Style = Graph1Style = Graph2Style = Graph3Style =Graph4Style =Graph5Style = 1;
Graph1Color = Graph2Color = Graph3Color = Graph4Color = Graph5Color = 6;
Graph0Color = colorYellow;

/* red lines */
Graph6= EMA( Close, 30 );
Graph7= EMA( Close, 35 );
Graph8= EMA( Close, 40 );
Graph9= EMA( Close, 45 );
Graph10= EMA( Close, 50 );
Graph11 = EMA( Close, 60 );
Graph6Style = Graph7Style = Graph8Style =Graph9Style =Graph10Style = Graph11Style = 1;
Graph6Color = Graph7Color = Graph8Color =Graph9Color =Graph10Color = Graph11Color = 4;

Plot( MA( Close,1),"price",colorWhite  ); 


mkol=IIf(a1<0 AND a1>Ref(a1,-1), colorGreen,IIf(a1>0 AND a1>Ref(a1,-1),colorBrightGreen,IIf(a1>0 AND a1 80 , colorGreen, IIf (CCI(10) < -80, colorRed, colorBlack));

Plot(5, "ribbon", mkol, styleOwnScale|styleArea|styleNoLabel, 0, -5);

acc = Param("Acceleration", 0.02, 0, 1, 0.001 );
accm = Param("Max. acceleration", 0.2, 0, 1, 0.001 );
Plot( SAR( acc, accm ), _DEFAULT_NAME(), colorWhite, ParamStyle("Style", styleDots | styleNoLine, maskDefault | styleDots | styleNoLine ) );

Open chat
Hi, how can I help you?