Support Board
Date/Time: Thu, 23 Jan 2025 21:41:28 +0000
[User Discussion] - How do I draw a line 50 ticks away from Day low?
View Count: 1192
[2018-12-06 10:27:12] |
grantx - Posts: 244 |
Im using the Daily OHLC study. I would like to have a ray or a line that draws 50 ticks away from the day low. Anyone know how to achieve this? I would imagine a something like a normal ray that has a formula that sets its price level based on the OHLC study. THanks. |
[2018-12-06 13:27:28] |
Sawtooth - Posts: 4162 |
Use one of the arithmetic studies. Using the Basic Arithmetic Studies |
[2018-12-06 13:44:30] |
grantx - Posts: 244 |
Thanks tomgilb but how do I get that to draw a line on the main chart? I have specified that it is based on the OHLC and that it must draw a line on chart region 1. But this simply puts it up in the header portion and doesnt draw a line on my chart. Region 2 prints a line as a subgraph but its no good to me there. |
[2018-12-06 14:16:47] |
Sawtooth - Posts: 4162 |
You must convert from ticks to points.
|
[2018-12-06 14:38:01] |
grantx - Posts: 244 |
I once had Jehovahs witness explain to me why I should convert. I was so confused that I suffered an existential crisis. Now you are telling me to convert from ticks to points and Im afraid my level of confusion has surpassed what I previously thought was an insurmountable summit. Thanks for trying though. Ill see if I can figure it out. |
[2018-12-06 15:23:29] |
Sawtooth - Posts: 4162 |
How many points is 50 ticks? A point is a whole number of the price. What symbol are you trading? Date Time Of Last Edit: 2018-12-06 15:25:29
|
[2018-12-06 15:55:58] |
grantx - Posts: 244 |
Forex. EURUSD. However, I have a number of other little things Id like to do so Ive started reading through Sierras ACSIL programming concepts. I have experience with C# so just going to bite the bullet and figure out this C++ stuff. So far Ive managed to create a study that draws a horizontal line at a specific level (woohoo) so now I just have to expand on that. |
[2018-12-06 16:41:12] |
Sawtooth - Posts: 4162 |
The tick size for the EURUSD is 0.00005 50 ticks is: 0.00005 x 50 = 0.0025 0.0025 points is 50 ticks. Use 0.0025 for the offset in the arithmetic study. |
[2018-12-06 16:59:24] |
grantx - Posts: 244 |
Oh wow that worked! Thanks tomgilb!
|
To post a message in this thread, you need to log in with your Sierra Chart account: