METRO_Stochastic_HTF_Signal - MetaTrader 5 Script - MT4/MT5 Resources


If the trend continues on the selected bar, the indicator will sound an alert through a graphical object in the form of a circular steering wheel, the color of which corresponds to the direction of the trend. If the trend of the selected bar changes, the indicator will signal by displaying a diagonal arrow. Its color and orientation correspond to the direction of trade.
All input parameters can be divided into three major groups:
//+------------------------------------------------+ //| Indicator input parameters | //+------------------------------------------------+ Enter string symbol_= ”” ; // Financial assets Input ENUM_TIMEFRAMES time range = PERIOD_H6 ; // Calculate indicator time range Input unit K period = 5 ; Input unit DP period = 3 ; Input integer deceleration = 3 ; Input ENUM_MA_METHOD MA_method= mode_SMA ; Input integer step size fast = 5 ; // Quick step Enter integer step size slow = 15 ; // slow step Enter ENUM_STO_PRICE apply price = STO_LOWHIGH ; // price type or handle
//----Indicator display settings Enter the unit signal column = 0 ; // Number of bars to get the signal from (0 - current bar) Input stringSymbols_Sirname =INDICATOR_NAME "_label_" ; // Indicator label name Input color Upsymbol_Color= Cleaqua ; // Uptrend symbol color Input color Dnsymbol_Color= gold ; // Downtrend symbol color Input color IndName_color = clr dark orchid ; // indicator name color Input unit symbol_size = 60 ; // signal symbol size Input unit font size = 10 ; // Indicator name font size Input integer X_1= 5 ; // Horizontal name offset Input integer Y_1=- 15 ; // Vertical name offset Input boolean display name = true ; // indicator name display Input ENUM_BASE_CORNER what corner = CORNER_RIGHT_UPPER ; // Display corner points Input unit X_= 0 ; // Horizontal offset Input unit Y_= 20 ; // vertical offset
//---- Alarm settings Enter ENUM_ALERT_MODEalert_mode=OnlySound; // Trigger indication options Input unit alarm count = 0 ; //Number of alarms generated
If you want to use multiple METRO_Stochastic_HTF_Signal indicators on one chart, each indicator should have its own Symbols_Sirname (indicator label name) string variable value.
This indicator requires the compiled indicator file METRO_Stochastic.mq5. Place it in <terminal data folder>\MQL5\Indicators\.

Figure 1. METRO_Stochastic_HTF_Signal indicator trend continuation signal

Figure 2. METRO_Stochastic_HTF_Signal indicator trading signal
Attachment download
📎 metro_stochastic_sign.mq5 (9.42 KB)
📎 metro_stochastic_htf_signal.mq5 (14.52 KB)
Source: MQL5 #14705
METRO_Stochastic_HTF_Signal - Important points before using the MetaTrader 5 script
This page has been supplemented with structured instructions, focusing on the purpose of trading scripts, MT4/MT5 platform compatibility, testing procedures and risk control. Before downloading or deploying, it is recommended to first determine whether it is consistent with your own variety, cycle and account environment.
Suitable for who to use
- Users who want to quickly screen trading scripts and are willing to do simulation verification first.
- People who need to compare MT4/MT5 EAs, indicators, scripts or source code projects.
- Traders who wish to record backtests, parameters and risk boundaries before placing a trade.
Testing and risk control suggestions
- First verify the default parameters in the strategy tester or demo account, and then adjust the symbol, period, spread and trading period one by one.
- Scalping, grid, martin, and high-frequency strategies should focus on observing maximum drawdowns, consecutive losses, slippage, and trading frequency.
- It is not recommended to run any document directly on the real disk. At least observe the simulated disk performance for 2-4 weeks first.
FAQ
Can MT4 and MT5 be used interchangeably?
Usually cannot be used directly. EX4/MQ4 corresponds to MT4, EX5/MQ5 corresponds to MT5, and the source code needs to be compiled in the corresponding MetaEditor.
Is this resource guaranteed to be profitable?
cannot. EAs, indicators and scripts can only be used as trading tools, and the results depend on parameters, market environment, spreads, slippage and risk control.
What else can I continue to watch?
Forex EA download , foreign exchange indicator download , EA evaluation , MQL5 CodeBase .
English Search Notes
This page is also optimized for English search intent around METRO_Stochastic_HTF_Signal - MetaTrader 5 script . Related search terms include: trading script, MT4 script, MT5 script. Test any Forex EA, Expert Advisor, MT4/MT5 indicator, script or MQL source code with historical data and a demo account before live trading.
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •