I have a strategy that does not set any stoploss. But when I start the strategy the lines below appear in the output windows.
The interesting thing is, that I have no stoploss set in this strategy.
Additionally the line "Fresh from DB: stoploss_distance_p: 0.005" is a print (debug) command from a completely different strategy of mine.
How can this happen?
Is there a solution?
Best regards,
Stefan
Edit: I just noticed the lines below appear already in the output window when I OPEN the strategy dialog box to add a new strategy to a chart. I have no strategy selected by this time.
8/15/2011 10:35:52 AM Entered internal SetStopTarget() method: Type=Target FromEntrySignal='longposition' Mode=Ticks Value=200 Currency=0 Simulated=False
8/15/2011 10:35:52 AM Entered internal SetStopTarget() method: Type=Target FromEntrySignal='longposition' Mode=Percent Value=0.005 Currency=0 Simulated=False
Fresh from DB: stoploss_distance_p: 0.005
8/15/2011 10:35:52 AM Entered internal SetStopTarget() method: Type=Target FromEntrySignal='longposition' Mode=Percent Value=0.02 Currency=0 Simulated=False
8/15/2011 10:35:52 AM Entered internal SetStopTarget() method: Type=Target FromEntrySignal='longposition' Mode=Percent Value=0.02 Currency=0 Simulated=False
Fresh from DB: stoploss_distance_p: 0.005
8/15/2011 10:35:52 AM Entered internal SetStopTarget() method: Type=Target FromEntrySignal='longposition' Mode=Percent Value=0.02 Currency=0 Simulated=False
8/15/2011 10:35:52 AM Entered internal SetStopTarget() method: Type=Target FromEntrySignal='shortposition' Mode=Percent Value=0.02 Currency=0 Simulated=False
**NT** Enabling NinjaScript strategy 'breakingchannel20110813/95f3973948864aa6be66b674acd7a9ba' : On starting a real-time strategy - StrategySync=SubmitImmediately SyncAccountPosition=False EntryHandling=AllEntries EntriesPerDirection=1 StopTargetHandling=PerEntryExecution ErrorHandling=StopStrategyCancelOrdersClosePositio ns ExitOnClose=True/ triggering 30 before close Set order quantity by=Strategy ConnectionLossHandling=KeepRunning DisconnectDelaySeconds=10000 CancelEntryOrdersOnDisable=False CancelExitOrdersOnDisable=False MaxRestarts=50 in 500 minutes
Comment