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

PairsTrade_Light - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

PairsTrade_Light - indicator for MetaTrader 5

Real author:

Real author: Leonid Bosky ( Leonid Chapter 553 )

The indicator is the " ind_2_linep1.mq5 " indicator. Unlike it, in this indicator it is as follows:

The indicator plots three lines:

If you need to continue downloading quotes for the selected instrument from the server or prepare them in the terminal, the indicator will enter standby mode, at which time a corresponding message will appear on the screen. Correct working of the indicator requires a server connection and the arrival of price changes. If you have a connection to the server, but no ticks occur (for example, during the weekend), then you can try using the terminal's "refresh" command multiple times.

"The value of maximizing bar exist The "Chart" terminal parameter must exceed the selected value of the "inpNumBars" indicator parameter, and in some cases it must significantly exceed it.

Indicator input parameters:

 input string inpSymbol1_name = "euryyen" ; //main instrument
Input boolean Symbol1_Reverse = wrong ; //reverse dependency
Input string inpSymbol2_Name = "USDJPY" ; // Attached instrument
Input boolean Symbol2_Reverse = false ; //reverse dependency
Input boolean ATRE enabled = true ; //Consider ATR value
Input integer inpEMA_Slow = 42 ; //Slow EMA period
Input integer inpEMA_Fast = 5 ; //fast 2xEMА period
Input integer inpN_ATR = 175 ; //ATR period
Input integer inpNumBars = 5000 ; //Drawing interval 

PairsTrade_Light - indicator for MetaTrader 5

suggestion:


Attachment download

📎pairstrade_light_v2.mq5 (22.43 KB)

Source: MQL5 #1589

Verification code Refresh