Trend Lines Crossing – indicator for MetaTrader 5

0
510

It can be used as with hand-created trend lines, so with the lines created automatically using any other instrument. The indicator itself does not draw any lines, its purpose is to inform about the prices of the available trend lines and price crossing.

Features:

    • each line has its own counter signals
    • when price crossing the line except for a sound/alert output replaying, the corresponding informational line changes the script color to the color of the line where the crossing occurred.
    • when deleting from the indicator the chart DOES NOT delete lines, but only the information about them
    • information updating (including zeroing of all counter signals) is performed in the following cases:

 

      1. attaching the indicator to the chart / change of the indicator features,
      2. when changing features of any trend line,
      3. when adding / dragging any trend line,
      4. when deleting line,
      5. when pressing “Update Info” key, then using the indicator with automatic lines for updating exactly this key must be used.

 

  • For audio signals any file of .wav format can be used. For this purpose place the file to the MQL5/Files folder and set its name (including extension) in the indicator parameters.
  • The indicator does not work with the horizontal lines(!), only with the trend lines.

Parameters:

    • Signal mode – one of three signals mode in crossings:

 

      1. No signal – do not produce any signals,
      2. Only sound – sound only,
      3. Alert – to output alerts.

 

  • Seconds between signals – the number of seconds between signals. Since Sleep() function can not be used in the indicators, to realize the pauses timer is used. I.e. in fact this parameter means not a pause between the signals but after what seconds the fact of crossing will be checked. That is why I do not recommend to put too much interval (default value is three seconds).
  • Signals Quantity – the number of audio signals / alerts. Valid only for the current bar. If crossing happened in the end of the period, then according to the fact the number of signals will depend from the time remained to complete the forming bar.
  • Sound Filename – the name that will be replaying if Only sound mode is chosen. File in .wav format must be placed in MetaTrader 5/MQL5/Files folder. If there is no file with the set name in this folder, alert.wav file (from MetaTrader 5/Sounds folder) will be used.
  • Show Lines Info – display the information about lines, exactly the name of the line on the current (last) bar. The indicator automatically choses the color of the output labels depending on the chart background. If the price crosses the trend line, the labels are colored in the color of the line.
  • Label name prefix – the line-prefix for labels’ names (line names and prices). It must contain no less than 5 symbols. It is designed for deleting only “your” labels when deleting the indicator from the chart.

Recommended MT5 Brokers

XM Broker

  • Free $50 To Start Trading Instantly! (Withdraw-able Profit)
  • Deposit Bonus up to $5,000
  • Unlimited Loyalty Program
  • Award Winning Forex Broker
  • Additional Exclusive Bonuses Throughout The Year

XM broker

>> Sign Up for XM Broker Account here <<

FBS Broker

  • Trade 100 Bonus: Free $100 to kickstart your trading journey!
  • 100% Deposit Bonus: Double your deposit up to $10,000 and trade with enhanced capital.
  • Leverage up to 1:3000: Maximizing potential profits with one of the highest leverage options available.
  • ‘Best Customer Service Broker Asia’ Award: Recognized excellence in customer support and service.
  • Seasonal Promotions: Enjoy a variety of exclusive bonuses and promotional offers all year round.

fbs broker

>> Sign Up for FBS Broker Account here <<

(Free MT5 Indicators Download)

Click here below to download:

RPoint – indicator for MetaTrader 5

LEAVE A REPLY

Please enter your comment!
Please enter your name here