Login Page - Create Account

Support Board


Date/Time: Fri, 10 May 2024 02:09:38 +0000



[Programming Help] - Trade Management By Study instant stop out

View Count: 1333

[2018-11-20 14:47:45]
samual sprat - Posts: 343
Hi,

I'm using Trade Management By Study to manage SL's on my trades. I'm using it with 'Position type' set to 'All positions' and 'Only modify stops in one direction' set to 'No'. I am controlling it using the subgraph from 'Volatility Trend Indicator'.

Assuming Trade Management By Study is ENABLED and is being controlled by Volatility Trend Indicator. If a long position is filled and the Volatility Trend Indicator is below the candle, then the trailing stop works as expected. However problems occurs if the long is filled and Volatility Trend Indicator subgraph is above price, in which case the position is instantly stopped out.

I have thought of various solutions but they all require adding many more studies that need be required. Is there something I can do to avoid this situation that is simple and efficient?

If there is no simple/efficient solution, maybe an update to Trade Management By Study may help when opening new positions? For example, if a long position that has it's SL trailed by Trade Management By Study is triggered and all longs are stopped out, then automatically disable Trade Management By Study. I guess this could be an option that we could check and it may help avoid this situation.

Another solution could be to add an option to Trade Management By Study to prevent position from being opened if the trade would be instantly stopped out. Not sure if this is possible
Thanks
S
Date Time Of Last Edit: 2018-11-20 15:10:17
[2018-11-20 19:11:27]
Sierra Chart Engineering - Posts: 104368
You can modify that study to meet your requirements. Refer to:
How to Build an Advanced Custom Study from Source Code
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-11-22 13:00:52]
bradh - Posts: 854
If there is no simple/efficient solution, maybe an update to Trade Management By Study may help when opening new positions?

Add a Spreadsheet Formula study and use the formula =min(c,id1.sg1). Where id1.sg1 is the volatility trend indicator. The point the Trade Management by Study to the new study.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account