mirror of
https://github.com/rithsila/MT5-EA-Sniper-Strategy.git
synced 2026-08-21 06:38:13 +00:00
MAGrid initial commit. First position and orders
This commit is contained in:
Binary file not shown.
@@ -57,6 +57,23 @@ void OnDeinit(const int reason)
|
||||
void OnTick()
|
||||
{
|
||||
//---
|
||||
fsma.Refresh(-1);
|
||||
ssma.Refresh(-1);
|
||||
|
||||
gSsma = ssma.Main(1);
|
||||
//isQualifiedCandle(0);
|
||||
OrderClose();
|
||||
if(!ScanPositions())
|
||||
return;
|
||||
if(OrdersTotal()>0)
|
||||
return;
|
||||
CheckSpread();
|
||||
entryConditions();
|
||||
EvaluateEntry();
|
||||
ExecuteEntry();
|
||||
|
||||
Comment(
|
||||
"Expert Advisor by Anselme Nkondog (c) 2021\n");
|
||||
|
||||
}
|
||||
//+------------------------------------------------------------------+
|
||||
|
||||
Reference in New Issue
Block a user