Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

3D_Oscillator_HTF_Signal - MetaTrader 5 Script - MT4/MT5 Resource

author EAcpu | 2 reads | 0 comments |

3D_Oscillator_HTF_Signal - indicator for MetaTrader 5

3D_Oscillator_HTF_Signal - indicator for MetaTrader 5

3D_Oscillator_Signal Displays the trend direction or signals generated by executing trades 3D_Oscillator as a text message with trend color indication or trade direction and emits an alert or audio signal.

If necessary, the text message can be changed by changing the value of the appropriate constant in the indicator code:

 #define SIGNAL_SYMBOLS_FONT "Georgia" // Market entry symbol font
#define TREND_SYMBOLS_FONT "Georgia" // Trend symbol font
#Define UP_SIGNAL_SYMBOL "Buy 3D" // Long position opening symbol
#Define DN_SIGNAL_SYMBOL "Sell 3D" // Short position opening symbol
#Define UP_TREND_SYMBOL “3D” // Uptrend symbol
#Define DN_TREND_SYMBOL “3D” // Downtrend symbol

If the trend continues on the selected bar, the indicator will alert via a star graphical object, the color of which corresponds to the direction of the trend. If the trend on the selected bar changes, the indicator will alert with an arrow, color and direction corresponding to the direction of the executed trade.

All input parameters can be divided into three major groups:

 //+------------------------------------------------+
//| Indicator input parameters |
//+------------------------------------------------+
Enter string symbol_= ”” ; // Financial instrument
Input ENUM_TIMEFRAMES time range = PERIOD_H6 ; // time range for indicator calculation
Enter the integer D1RSIPer= 13 ; Enter the integer D2StochPer= 8 ; Enter the integer D3tunnelPer= 8 ; Enter double heat = 0.4 ; Enter the integer sigsmooth= 4 ;
  • 3D_Oscillator_HTF_Signal indicator input parameters required for indicator visualization:
    //----Indicator display settings
    Input unit signal column = 0 ; // Signal bar index, 0 is the current bar
    Input stringSymbols_Sirname =INDICATOR_NAME "_label_" ; // Indicator label name
    Input color BuySymbol_Color=lime; //Growth symbol color
    Input color UpSymbol_Color=green; // Growth symbol color
    Input color DnSymbol_Color=red; //Color of downfall symbol
    Input color SellSymbol_Color=Magenta; // Downfall symbol color
    Input color IndName_Color=Dark Orchid; // Indicator name color
    Input unit symbol_size = 40 ; // signal symbol size
    Input unit font size = 10 ; // Indicator name font size
    Input integer X_1= 5 ; // horizontal movement of name
    Input integer Y_1=- 15 ; // Name moves vertically
    Input boolean display name = true ; // indicator name display
    Input ENUM_BASE_CORNER what corner = CORNER_RIGHT_UPPER ; // position angle
    Input unit X_= 0 ; // horizontal movement
    Input unit Y_= 20 ; // vertical translation
  • 3D_Oscillator_HTF_Signal indicator input parameters required to trigger alarms and audio signals:
     //---- Alarm settings
    Input ENUM_ALERT_MODEalert_mode=OnlySound; // Action indication version
    Input unit alert count = 0 //Number of alerts submitted
  • If you want to use multiple 3D_Oscillator_HTF_Signal indicators on one chart, each indicator should have its own Symbols_Sirname (indicator label name) string variable value.

    Place the 3D_Oscillator indicator compiled file into terminal_data_folder\MQL5\Indicators.

    3D_Oscillator_HTF_Signal - indicator for MetaTrader 5

    3D_Oscillator_HTF_Signal - indicator for MetaTrader 5


    Attachment download

    📎 3d_oscilator.mq5 (9.3 KB)

    📎 3d_oscilator_htf_signal.mq5 (14.52 KB)

    Source: MQL5 #702

    Verification code Refresh