Remove unnecessary parameters for Bearish Engulfing strategy
This commit is contained in:
parent
46f36ea46e
commit
d1dac67908
@ -1,6 +1,5 @@
|
|||||||
#region Using declarations
|
#region Using declarations
|
||||||
using NinjaTrader.Cbi;
|
using NinjaTrader.Cbi;
|
||||||
using System;
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
namespace NinjaTrader.NinjaScript.Strategies
|
namespace NinjaTrader.NinjaScript.Strategies
|
||||||
@ -11,24 +10,10 @@ namespace NinjaTrader.NinjaScript.Strategies
|
|||||||
{
|
{
|
||||||
if (State == State.SetDefaults)
|
if (State == State.SetDefaults)
|
||||||
{
|
{
|
||||||
Description = @"";
|
|
||||||
Name = "Bearish Engulfing Bot";
|
Name = "Bearish Engulfing Bot";
|
||||||
|
Description = @"Simple strategy based on the bearish engulfing candle pattern";
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
else if (State == State.Configure)
|
else if (State == State.Configure)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user