FOR CHART TRADERS: This indicator is a sample of how to automate the exit of a position with a chart indicator
Version 1.1
Exported with NT 7.0.1000.11
(1.0 did not connect the Parm to the Button correctly)
(1.0 did not have MA plots
(1.1 now detects the account with the position, SIM and REPLAY overridden by live account)
(1.1 does not toggle exit button when position is closed, 1.0 did)
The method of closing the position is through an OIF file written into the "My Documents\NinjaTrader 7\Incoming" folder.
In this exmaple, when the Exit button is White
a long position is exited on a CrossUnder EMA13 x SMA20
a short position is exited on a CrossOver EMA13 x SMA20
NOTE: Change the variable OIF_Folder to point to your My Documents folder.
THE ATI INTERFACE OPTION MUST BE SELECTED ON CONTROL CENTER / FILE
This indicator creates a Exit button on the toolbar
When the Exit is enabled, the button is White
When the Exit is disabled, the button is Gray
Category NinjaTrader 7 Indicators
|
|
|