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
Horizontal priceline indicator [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2958 times
Re: Horizontal priceline indicator [SOLVED]
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.
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 748 times