//+------------------------------------------------------------------+
//| tutorial9.mq4 |
//| Copyright 2020, MetaQuotes Software Corp. |
//| https://triantoadi.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2020, MetaQuotes Software Corp."
#property link "https://triantoadi.com"
#property version "1.00"
#property strict
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
void OnStart()
{
double level = 1.3000;
Alert("Bid = " + string(Bid));
if(Bid < level)
{
Alert("Harga Di bawah level " + string(level) + "-> SELL");
}
else
{
Alert("Harga Di atas level " + string(level) + "-> BUY");
}
}