mirror of
https://github.com/rithsila/MT5-EA-Sniper-Strategy.git
synced 2026-08-19 13:48:14 +00:00
Manage filling type
This commit is contained in:
Binary file not shown.
@@ -60,8 +60,6 @@ void OnTick()
|
||||
|
||||
SymbolInfoTick(_Symbol,last_tick);
|
||||
|
||||
//isPinBar();
|
||||
|
||||
CheckOperationHours();
|
||||
CheckPreChecks();
|
||||
ScanPositions();
|
||||
@@ -82,11 +80,12 @@ void OnTick()
|
||||
return;
|
||||
|
||||
Print("Good for trading...");
|
||||
Print("gEmergencyClose ", gEmergencyClose);
|
||||
drawdownWatcher();
|
||||
|
||||
Print("gEmergencyClose ", gEmergencyClose);
|
||||
CloseTransactions();
|
||||
|
||||
if(InpActivateRiskWatcher)
|
||||
{
|
||||
drawdownWatcher();
|
||||
CloseTransactions();
|
||||
}
|
||||
|
||||
getSignal();
|
||||
ExecuteEntry();
|
||||
|
||||
Reference in New Issue
Block a user