Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 16:13:22 +0000



Post From: Exit on moving average crossover

[2017-07-25 01:46:32]
User143414 - Posts: 18
I'm coming over from Ninjatrader.

There I wrote an indicator (study) that will flatten a position and close open orders on a moving average crossover.

If the position is long, then a cross down triggers the exit. If a position is short, a cross up triggers the exit.

I HAVE A BUTTON ON THE TOOLBAR that can toggle this on and off.


Is there anything like this in SierraChart?

1) toolbar toggle
2) MA crossover exit (sensitive to direction)

Custom code? Samples of Code?

Thanks