Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 23:56:29 +0000



Post From: Setting up a Trailing Stop Using Spreadsheet System for Trading Study

[2019-03-24 03:01:38]
User701453 - Posts: 176
Add a Spreadsheet System for Trading Study to your chart.
In the "L" column for a long exit based on price less or equal to chosen ema.
=and(H3=1, J8 >0, E3<=P3)

In the "N" column for a short exit based on price greater or equal to chosen ema.
=and(H3=1, J8 <0, E3>=P3)

"P3" being the column you ema is listed in,(change "P" letter to whatever your chosen ema is listed in)
"H3" is a way to turn on/off the trailing stop with a simple 1 or 0.
Enter a "1" to enable trailing stop, enter "0" to disable it.

**Make sure "J72" and "J74" are set to "M" for a market orders
**Test in sim mode to make any adjustments needed to code etc.
**As always your mileage may vary & never guaranteed
Date Time Of Last Edit: 2019-03-24 03:03:57