Created
July 4, 2018 11:04
-
-
Save marketcalls/d5a7078ed6b5316e6e37289a2783ff15 to your computer and use it in GitHub Desktop.
Price with LTP Line Marker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Coded by Rajandran R | |
//Founder of www.marketcalls.in | |
//Co-Founder - www.traderscafe.in | |
_SECTION_BEGIN("Price with LTP Line Marker"); | |
SetChartOptions(0,chartShowArrows|chartShowDates); | |
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) )); | |
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() ); | |
bi= BarIndex(); | |
sbi = FirstVisibleValue(bi); | |
ebi = LastVisibleValue(bi); | |
Plot(LineArray(sbi, C[BarCount-1], ebi, C[BarCount-1],1),"",ParamColor("LTP Color", coloryellow ), ParamStyle("LineStyle") | styleDashed | styleNoLabel | styleNoTitle); | |
_SECTION_END(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment