Remove unnecessary parameters from ConnorsRSI strategy
This commit is contained in:
parent
92c08fbc7a
commit
9d8e5974b8
@ -17,24 +17,10 @@ namespace NinjaTrader.NinjaScript.Strategies
|
|||||||
{
|
{
|
||||||
if (State == State.SetDefaults)
|
if (State == State.SetDefaults)
|
||||||
{
|
{
|
||||||
Description = @"Strategy based on the ConnorsRSI indicator developed by Larry Connors";
|
|
||||||
Name = "Connors RSI Bot";
|
Name = "Connors RSI Bot";
|
||||||
|
Description = @"Strategy based on the ConnorsRSI indicator developed by Larry Connors";
|
||||||
Calculate = Calculate.OnBarClose;
|
Calculate = Calculate.OnBarClose;
|
||||||
EntriesPerDirection = 1;
|
EntriesPerDirection = 1;
|
||||||
EntryHandling = EntryHandling.AllEntries;
|
|
||||||
IsExitOnSessionCloseStrategy = true;
|
|
||||||
ExitOnSessionCloseSeconds = 30;
|
|
||||||
IsFillLimitOnTouch = false;
|
|
||||||
MaximumBarsLookBack = MaximumBarsLookBack.TwoHundredFiftySix;
|
|
||||||
OrderFillResolution = OrderFillResolution.Standard;
|
|
||||||
Slippage = 0;
|
|
||||||
StartBehavior = StartBehavior.WaitUntilFlat;
|
|
||||||
TimeInForce = TimeInForce.Gtc;
|
|
||||||
TraceOrders = false;
|
|
||||||
RealtimeErrorHandling = RealtimeErrorHandling.StopCancelClose;
|
|
||||||
StopTargetHandling = StopTargetHandling.PerEntryExecution;
|
|
||||||
BarsRequiredToTrade = 20;
|
|
||||||
IsInstantiatedOnEachOptimizationIteration = true;
|
|
||||||
|
|
||||||
RSIPeriod = 3;
|
RSIPeriod = 3;
|
||||||
StreakRSIPeriod = 2;
|
StreakRSIPeriod = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user