Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 00:38:53 +0000



Post From: How to change trade twconfig based on ATR range values

[2023-10-08 17:34:21]
fried4104 - Posts: 66
Hello,
I've seen this can be done in ninja, so I'm wondering if you can steer me in the right direction on how to achieve this.

I use a tick chart, therefore I cannot measure ATR directly. I managed to get the ATR by using Study/Price Overlay Study to link the ATR from a 30s chart.
All is ok, I get the value in the top of my chart.

My issue, is there any way to have my SL and TP automatically adjusted based of a range of the said ATR?
Example ATR reading between 1.5 - 2.0, I would have 10/10 tick (R:R). IF it would be higher 2.5-3.5 ATR my order ticks would increase to 14/14 etc. These values I would set myself based on ATR ranges.

I searched and the closest I found is trade management by study, but I do not know how to code it for my ranges.
Any advice? Thank you very much.

PS: I know this is out of scope of SC support, I was wondering if someone ever needed something similar or had an idea of how could it be achieve.