Forum: NinjaTrader
October 26th, 2015, 12:07 AM
|
Replies: 10
Views: 2,568
The values of C and TV would need to be made...
The values of C and TV would need to be made public in the properties section of the indicator file. Then you would reference those properties from within the strategy...
So in your indicator...
|
Forum: NinjaTrader
October 25th, 2015, 10:50 PM
|
Replies: 10
Views: 2,568
if (C1)
{
...
if (C1)
{
EnterShortLimit(DefaultQuantity, TV, "ShortEntry");
SetStopLoss("ShortEntry", CalculationMode.Ticks, StopLossOffsetTicks, false);
SetProfitTarget("ShortEntry",...
|
Forum: NinjaTrader
October 25th, 2015, 07:13 PM
|
Replies: 10
Views: 2,568
|