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 ....
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
SwamiStochastics for Amibroker (AFL)
Copy & Paste Friendly
Back
Title = "SwamiStochastics";
for( N = 6; N <= 48; N++ )
{
// Replace this line with the indicator of your choice, like RSI( N )
indicator = StochK( N, 4 ) / 100;
red = IIf( indicator >= 0.5, 255 * ( 2 - 2 * indicator ), 255 );
green = IIf( indicator < 0.5, 255 * 2 * indicator, 255 );
blue = 0;
Color = ColorRGB( red, green, blue );
PlotOHLC( N, N+1, N, N, "", Color, styleCloud | styleNoLabel );
}