Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
RSI Up Down for Amibroker (AFL)
This indicator is available in Falcon charts from http://reliable.co.in/ .This is very lesser known but good indicator available in Falcon. This is based on RSI.
Indicator / Formula
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | function RSIUP( period ) { av = Param ( "EMA" ,10,1,100,1); P = N = 0; EM = EMA ( C ,av); result = Null ; K = 2/(period + 1); for ( i = 1; i < BarCount ; i++ ) { diff = EM[ i ] - EM[ i - 1 ]; W = S = 0; if ( diff > 0 ) W = diff; if ( diff < 0 ) S = -diff; P = ( ( period -1 ) * P + W ) / period; N = ( ( period -1 ) * N + S ) / period; if ( i >= period ) result[ i ] = P; } return result; } function RSIDN( period ) { av = Param ( "EMA" ,10,1,100,1); P = N = 0; EM = EMA ( C ,av); result = Null ; K = 2/(period + 1); for ( i = 1; i < BarCount ; i++ ) { diff = EM[ i ] - EM[ i - 1 ]; W = S = 0; if ( diff > 0 ) W = diff; if ( diff < 0 ) S = -diff; P = ( ( period -1 ) * P + W ) / period; N = ( ( period -1 ) * N + S ) / period; if ( i >= period ) result[ i ] = N; } return result; } Title = "RSI Up Down" ; pr = Param ( "Period" ,14,1,100,1); Plot ( RSIUP( pr ), "RSI UP" , colorGreen ); Plot ( RSIDN( pr ), "RSI Down" , colorRed ); Buy = Cross ( RSIUP( pr ),RSIDN( pr )); Sell = Cross (RSIDN( pr ),RSIUP( pr )); shape = Buy * shapeUpArrow + Sell * shapeDownArrow ; PlotShapes ( shape, IIf ( Buy , colorGreen , colorRed ) ); |
0 comments
Leave Comment
Please login here to leave a comment.
Back