Antonuk Oleg
The indicator shows Buy and Sell signals of three indicators (iSAR, iMFI ΠΈ iTEMA) located in nine timeframes, with full settings.
//+----------------------------------------------+ //| Indicator input parameters Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β | //+----------------------------------------------+ input string Symbol_="";Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Financial asset input ENUM_TIMEFRAMES TimeFrame1=PERIOD_M1;Β Β Β Β Β Β Β Β Β Β // Chart 1 period input ENUM_TIMEFRAMES TimeFrame2=PERIOD_M5;Β Β Β Β Β Β Β Β Β Β // Chart 2 period input ENUM_TIMEFRAMES TimeFrame3=PERIOD_M15;Β Β Β Β Β Β Β Β Β Β // Chart 3 period input ENUM_TIMEFRAMES TimeFrame4=PERIOD_M30;Β Β Β Β Β Β Β Β Β Β // Chart 4 period input ENUM_TIMEFRAMES TimeFrame5=PERIOD_H1;Β Β Β Β Β Β Β Β Β Β // Chart 5 period input ENUM_TIMEFRAMES TimeFrame6=PERIOD_H4;Β Β Β Β Β Β Β Β Β Β // Chart 6 period input ENUM_TIMEFRAMES TimeFrame7=PERIOD_D1;Β Β Β Β Β Β Β Β Β Β // Chart 7 period input ENUM_TIMEFRAMES TimeFrame8=PERIOD_W1;Β Β Β Β Β Β Β Β Β Β // Chart 8 period input ENUM_TIMEFRAMES TimeFrame9=PERIOD_MN1;Β Β Β Β Β Β Β Β Β Β // Chart 9 period sinput string info1="<<<==============Β Β iSAR Parameters ===============>>>"; //--- iSAR parameters input double SARStep=0.02;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // iSAR step input double SARMaximum=0.2;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Maximum iSAR input uint SARNumberofBar=0;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Bar number to get the iSAR signal sinput string info2="<<<============Β Β Moving Average Parameters =============>>>"; //---- Moving Average parameters input uintΒ Β FastTEMA=13;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Fast TEMA input uintΒ Β SlowTEMA=24;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Slow TEMA input ENUM_APPLIED_PRICE TEMAPrice=PRICE_CLOSE;Β Β Β Β Β Β // TEMA price input uint TEMANumberofBar=0;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Bar number to get the MA signal sinput string info3="<<<==============Β Β iMFI parameters ===============>>>"; //---- MFI parameters input intΒ Β MFIPeriod=14; input ENUM_APPLIED_VOLUME MFIVolumeType=VOLUME_TICK;Β Β // iMFI volume input uint MFIHighLevel=60;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // iMFI overbought level input uint MFILowLevel=40;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // iMFI oversold level input bool MFIInvert=true;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Inverting of iMFI signals input uint MFINumberofBar=0;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Bar number to get the MFI signal sinput string info4="<<< === Indicator's visual display parameters === >>>"; //---- Indicator's visual display parameters input colorΒ Β TextColor=clrBlueViolet;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Text color input colorΒ Β UpColor=clrDarkTurquoise;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Uptrend color input colorΒ Β MdColor=clrSlateBlue;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // No-trend color input colorΒ Β DnColor=clrTomato;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Downtrend color input intΒ Β Β Β FontSize=13;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Font color input type_font FontType=Font14;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Font type input ENUM_BASE_CORNERΒ Β WhatCorner=CORNER_LEFT_LOWER; // Display corner input uint Y_=20;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Vertical position input uint X_=5;Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β // Horizontal position input string LableSirname="SignalTable_Sar_MFI_TEMA 1";
The indicator uses the class of library GetFontName.mqh (should be copied to the terminal_data_folderMQL5Include).
Fig.1 The SignalTable_Sar_MFI_TEMA indicator