HandleStopLossPlus

mail@pastecode.io avatar
unknown
csharp
2 years ago
438 B
2
Indexable
Never
			TriggerCustomEvent(q =>
			{
				Order stopLoss = null;
				string signalName = null;
				double overrideStopLossPrice = 0;
				
				if (Keyboard.IsKeyDown(Key.NumPad9))
				{
					myTickHunter objstopLoss = new myTickHunter();
					
					objstopLoss.HandleStopLossPlus(signalName, overrideStopLossPrice);
					stopLoss = objstopLoss;
				}
				
				account.Submit(new[] { stopLoss });
			}, null);
			e.Handled = true;