//+------------------------------------------------------------------+
//|                                                    tutorial10.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 level1 = 1.3000;
  double level2 = 1.5000;
   
   Alert("Bid = " + string(Bid));
   
   if(Bid < level1)
   {
   Alert("Harga Di bawah level " + string(level1) + "-> SELL");
   }
   else if(Bid < level2)
   {
   Alert("Harga diantara level1 & level2");   
   }
   else
   {
   Alert("Harga Di atas level " + string(level1) + "-> BUY");
   }
   
  }