Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Lentz Volatility Indicator for Amibroker (AFL)
The Lentz Volatility Indicator is an inverted histogram of the difference between the 20-day ATR and its 20-day EMA. It can help discern environments conducive for non-directional option premium selling.
Indicator / Formula
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | _SECTION_BEGIN ( "$LVI" ); //Lentz Volatility Indicator period = Param ( "EMA Period" , 20, 1, 200, 1 ); ATRperiod = Param ( "ATR Period" , 20, 1, 200, 1 ); SetForeign ( "^GSPC" ); LVI = 0-( ATR (ATRperiod)- EMA ( ATR (ATRperiod),period)); RestorePriceArrays (); Plot ( LVI, _DEFAULT_NAME (), IIF (LVI>0, colorGreen , colorRed ), styleHistogram ); Plot ( LVI, "" , colorblack , styleLine | styleNoLabel ); Plot (0, "" , colorBlack , styleDashed | styleNoLabel ); _SECTION_END (); |
3 comments
Leave Comment
Please login here to leave a comment.
Back
Great . I saw the beauty of curve.Thanks