Login Page - Create Account

Support Board


Date/Time: Mon, 16 Sep 2024 19:07:29 +0000



Post From: how to create automated Exit which is based on my Stoploss

[2022-07-16 22:08:23]
Sawtooth - Posts: 4091
can you tell me please what the best way would be to access the price of the attached stoporder in ascil?
I have no experience with ACSIL, so I'm no help here.

If your stoploss is consistently the same offset from the H/L of the entry bar, you can make that value persistent in a spreadsheet Formula Column, then use the Trade Management by Study study to move it there.
Like this for longs, e.g. in P3:
=IF(M3,0,IF(K3,C3+$J$21*2,P4))
This will return the High of the buy entry bar + 2 ticks, and be persistent until a sell entry bar.

The stoploss offset could even be dynamic, from a formula referencing the H/L of the entry bar.