I tried to dig through the Hotkey manual pdf to read/learn more about it. I'm trying to grab the ATR value from a 1min chart to calculate my share size. For instance, NIO's 1 min chart with an ATR(9) shows a value of 1.4 Which means the average range of the price on the past 9 bars is 1.4. How do I grab that value in my script?
I'm trying to use that value 1.4 and multiply it by a fixed value of 500 to calculate my share size. 1.4 X 500 = 700 for my DefShare variable.
Can you point me in the right direction where to look for those reserved words? I did see your other post where you are able to access the ConfigTrendLine and customize that through a script; pretty neat. However, how did you find about that reserve word? Is there additional documentation available somewhere by DAS?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
General Tip: Create An ATR Daily Chart
in DAS Trader Pro Tips and Tricks
Posted
Thank you Kyle for sharing this. Very useful.
I tried to dig through the Hotkey manual pdf to read/learn more about it. I'm trying to grab the ATR value from a 1min chart to calculate my share size. For instance, NIO's 1 min chart with an ATR(9) shows a value of 1.4 Which means the average range of the price on the past 9 bars is 1.4. How do I grab that value in my script?
I'm trying to use that value 1.4 and multiply it by a fixed value of 500 to calculate my share size. 1.4 X 500 = 700 for my DefShare variable.
Can you point me in the right direction where to look for those reserved words? I did see your other post where you are able to access the ConfigTrendLine and customize that through a script; pretty neat. However, how did you find about that reserve word? Is there additional documentation available somewhere by DAS?
Thanks much!!