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

Red Buy Green Sell for Amibroker (AFL)

Rating:
3 / 5 (Votes 3)
Tags:
amibroker, moving average

JUST SO SIMPLE
Red Buy Green Sell

Based on a Moving Average crossover.

Similar Indicators / Formulas

Hull Moving Average (HMA)
Submitted by kaiji over 9 years ago
Beauty
Submitted by sbtc555 about 6 years ago
Smoothed MA (SSMA)
Submitted by kelvinhand about 6 years ago
Trend Scalping System
Submitted by esnataraj over 9 years ago
TD DeMarker Plane
Submitted by extremist over 8 years ago
Buff Volume Weighted Moving Averages
Submitted by kaiji over 9 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Red Buy Green Sell");

GraphXSpace=8;

P1 = Param( "MA01 Period", 5, 2, 200 );
P2 = Param( "MA02 Period", 10, 2, 200 );

MA01=MA(C,P1 );
MA02=MA(C,P2 );

RG=IIf(MA01>MA02,MA01-MA02,-(MA02-MA01));

PlotOHLC( MA02,RG+MA02,MA02,RG+MA02,"",23, styleCandle+4096); 
Plot( SelectedValue(C), "",IIf(SelectedValue(MA01)>SelectedValue(MA02),4,34),styleNoLine);
PlotShapes( IIf( Cross(MA01,MA02),shapeUpArrow,0),4,0, MA02-ATR(30) ,0);
PlotShapes( IIf( Cross(MA02,MA01),shapeDownArrow,0),34,0, MA02+ATR(30), 0);

Title = EncodeColor(44)+Name() +"    ( "+Interval(2)+" )    "+EncodeColor(41 )+WriteVal( DateTime(), formatDateTime);

_SECTION_END();

2 comments

1. jaysing9595

super sir…

2. KMohamedrafi

Thank you

Leave Comment

Please login here to leave a comment.

Back