Does anyone know how to ds_Line to stay straight based on latest bid or ask vs curving as price changes?
for example I am rounding the numbers to the nearest whole number and the line is let's say 1.2 then price rounds up to 1.3 so now I have a line at 1.2 then a line up to 1.3 and at 1.3 How can I have the indicator just do 1.3 crossed the board and remove the 1.2 reference, then if it moves to 1.4 remove the 1.3 reference?
Attached is a picture of What I have and what I want.
Straight Lines
-
- Posts: 12
- Joined: Mon Nov 09, 2015 9:35 pm
Straight Lines
- Attachments
-
- What I need Indicator.PNG (6.5 KiB) Viewed 5476 times
-
- What I have Indicator.PNG (8.51 KiB) Viewed 5476 times
-
- Posts: 12
- Joined: Mon Nov 09, 2015 9:35 pm
Re: Straight Lines
Nevermind, figured it out. I used Hline instead and that did the trick.
-
- Posts: 34
- Joined: Sat Feb 13, 2016 6:26 am
Who is online
Users browsing this forum: No registered users and 21 guests