← К каталогу
Исходный код · ID 240

jumpy.mq4

Вы автор или правообладатель?

Сообщите нам, если считаете, что материал размещён без разрешения.

Получить полный код

Поиск по коду файла

#property show_confirm

#include <stdlib.mqh>
#include <stderror.mqh>
#include <WinUser32.mqh>

double   BidVar;
datetime InitTime;
datetime LastTime;
double   LastPrice;
datetime CurrentTime;
int      ElapsedMins;
int      ElapsedSecs;
int      LastAlertMins;
int      AlertMins = 5;    // the number of minutes between alerts
int      Idx;
int      Diff;
string   Direction;
double   PriceMin[60];
int      PriceMinIdx;
string   AlertCaption = "Jumpy Expert Advisor";
int      Response;
int      Factor = 10000;
string   AlertMsg;
string   OutVal;
int      Places;
string   LastPriceStr;
string   BidVarStr;

extern int       Threshold_Pips=8;           // minimum movement to alert
extern int       Threshold_Mins=15;          // how far back to look 
extern string    Alert_By_Email="Yes";       // only sends Email if = Yes, instead of popup message box
extern int       Alert_Pause_Mins=10;        // the number of minutes between alerts

int init() 
{
      // код доступен только после оплаты
   }
  ArrayInitialize(PriceMin,0);
  InitTime = CurTime(); LastTime = InitTime;
  Places = Digits;
  if (Places != 4) { Factor = 100; }
  if (Threshold_Mins > 60) {
    Threshold_Mins = 60;
    AlertMsg = "Threshold Minutes now set to Maximum 60 Minutes";  
    Response = MessageBox(AlertMsg, AlertCaption, MB_OK|MB_ICONEXCLAMATION);         
  }
  if (Threshold_Mins < 5) {
    Threshold_Mins = 5;
    AlertMsg = "Threshold Minutes now set to Minimum 5 Minutes";  
    Response = MessageBox(AlertMsg, AlertCaption, MB_OK|MB_ICONEXCLAMATION);         
  }
  if (Threshold_Pips < 3) {
    Threshold_Pips = 3;
    AlertMsg = "Threshold Pips now set to Minimum 3 Pips";  
    Response = MessageBox(AlertMsg, AlertCapti

Показано первые 50% кода (символов: 2358)

Что вы получите после оплаты

На этой странице откроется полный исходный код файла вместо ознакомительного фрагмента.

Чтобы оформить заказ, введите email и перейдите к оплате.

Стоимость полного кода: 236 ₽