Horizontal priceline indicator  [SOLVED]

Questions about MultiCharts and user contributed studies.
philippas
Posts: 11
Joined: 26 Jun 2014
Has thanked: 1 time

Horizontal priceline indicator

Postby philippas » 09 Dec 2014

hi there,

im looking for a indicator that horizontally plots the last price or the bid/ask as a line.
Does anyone have an indicator ready?
Thanks a lot!
Phil

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Horizontal priceline indicator  [SOLVED]

Postby Henry MultiСharts » 10 Dec 2014

Hello philippas,

Please check the studies from this topic: Price Line.


Please also find attached an indicator that will plot a horizontal line on the current close.
The line is always extended to the right. Days_back input controls extension to the left:
0 up to current bar only,
1 - 1 days back,
2 - 2 days back, etc...

Show_price_marker - true - show current price marker above the horizontal line
false - hide the price marker.
Background/Text colors, size, font, amount of decimals are hardcoded in the function and can be modified in it.
Attachments
horizontal line on close.pla
(4.06 KiB) Downloaded 740 times

philippas
Posts: 11
Joined: 26 Jun 2014
Has thanked: 1 time

Re: Horizontal priceline indicator

Postby philippas » 10 Dec 2014

superb thx!


Return to “MultiCharts”