Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 05:30:06 +0000



Post From: Setting targets and stops based on user-controlled *multiple* of ATR

[2024-01-09 23:38:41]
User406455 - Posts: 4
I'm aware of Study Controlled Targets/Stops but I don't think it does what I need. I'm happy to code it up myself but I'm not sure whether I should use spreadsheet or ASCIL. Any suggestion would be appreciated.

Here's what I want to do:
When I enter an order, I want it to have a target and a stop.

The target should be a multiple of the ATR value at the close of the *last* bar. Further, I should be able to control this multiple. e.g. 2x, 3x, etc. So if the ATR study at the close of the last bar was 1, and my multiple is set to 3, then the target should be 3 points away from my entry.

The same logic should also apply to the stop.