//Account check "Sim101"
if (Account.Name != "Sim101")
{
Draw.TextFixed(this, "BR", "ALGORITHM IS ON TRIAL MODE AND UNLICENSED FOR REAL ACCOUNT", TextPosition.BottomRight);
PlaySound(NinjaTrader.Core.Globals.InstallDir + @"\sounds\Announcement.wav");
CloseStrategy("Not Licensed " + Time[0].ToString());
return;
}
//Account check "Playback101"
if (Account.Name != "Playback101")
{
Draw.TextFixed(this, "BR", "ALGORITHM IS ON TRIAL MODE AND UNLICENSED FOR REAL ACCOUNT", TextPosition.BottomRight);
PlaySound(NinjaTrader.Core.Globals.InstallDir + @"\sounds\Announcement.wav");
CloseStrategy("Not Licensed " + Time[0].ToString());
return;
}
Comment