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 ....
RSI - Dual Time Frame for Amibroker (AFL)
Copy & Paste Friendly
Back
_SECTION_BEGIN("RSI dual time frame"); SetChartOptions(0,0,chartGrid30|chartGrid50|chartGrid70); periods = Param( "Periods", 30, 1, 200, 1 ); maxClip = Param( "maxClip", 70, 1, 100, 1 ); minClip = Param( "minClip", 30, 1, 100, 1 ); StrFormat(" - {{NAME}} - {{INTERVAL}} {{DATE}}, ")+ Plot( RSI(30), "\nDaily RSI(30)", colorGreen, styleThick ); r = RSI(periods); //PlotOHLC( r,r,50,r, "", IIf( r > 50, colorPink, colorPink ), styleCloud | styleNoLabel | styleClipMinMax, minClip, maxClip ); PlotOHLC( r,r,50,r, "", IIf( r > 50, colorPink, colorPink ), styleLine | styleNoLabel | styleClipMinMax, minClip, maxClip ); Plot(50,"",colorLightGrey,1); TimeFrameSet( inWeekly ); // switch to 5 minute frame r2=RSI(30); TimeFrameRestore(); // restore time frame to original Plot(TimeFrameExpand( r2, inWeekly ,expandFirst ), "\nWeekly RSI(30)" ,colorRed, styleLine );GraphXSpace=15; _SECTION_END();