Support Board
Date/Time: Thu, 03 Jul 2025 08:19:04 +0000
Post From: how to create automated Exit which is based on my Stoploss
[2022-07-16 22:08:23] |
Sawtooth - Posts: 4231 |
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. |