Expert Advisor Correlation 2 moving average

Buy Correlation 2 moving average Expert Advisor in the store selling algo trading systems

Correlation Expert Advisor on Two Moving Averages

The Expert Advi­sor allows mak­ing prof­it on any sym­bol and time frame. Default Expert Advi­sor set­tings are designed for work­ing on EURUSD and H1 time frame for the peri­od start­ing with Jan­u­ary 1, 2013. Despite this, the Expert Advi­sor shows excel­lent results on a sim­i­lar time frame, for the same peri­od on the fol­low­ing cur­ren­cy pairs: USDJPY, EURJPY, GBPJPY, CHFJPY and AUDJPY.

Expert Advisor’s Trading Algorithm

The Expert Advi­sor cal­cu­lates cor­re­la­tion between the cur­rent val­ues of mov­ing aver­ages and sam­ple val­ues. The max­i­mum cor­re­la­tion val­ue is com­pared to the spec­i­fied thresh­old val­ue. If the lat­ter is exceed­ed, deci­sion to enter the mar­ket is made.

Selecting, Downloading and Managing Sample Values

Mov­ing aver­ages’ sam­ple val­ues are stored in a sep­a­rate file locat­ed in the ter­mi­nal’s com­mon direc­to­ry: “C:\ProgramData\MetaQuotes\Terminal\Common\Files\CCMA”. The file name is “ХХХХХХ_CCMA.bin”, where ХХХХХХ is a cur­ren­cy pair’s name. The file may con­tain any num­ber of sam­ples. By default, the file does not exist, but it is cre­at­ed auto­mat­i­cal­ly when a sam­ple val­ue is down­loaded.

Expert Advi­sor’s oper­a­tion mode with sam­ple val­ues. “Work mode” para­me­ter is respon­si­ble for the Expert Advi­sor’s oper­a­tion mode. Para­me­ter val­ues may be as fol­lows:

  • Read — read­ing the file with sam­ple val­ues and dis­play­ing the mes­sage in “Experts” tab.
  • Write — writ­ing select­ed test val­ues to file. If the file does not exist, it will be cre­at­ed.
  • Delete — delet­ing select­ed test val­ues from the file.
  • Erase — delet­ing all val­ues from the file.

The fol­low­ing para­me­ters should be spec­i­fied to select and down­load a sam­ple val­ue: “Sam­ple start time” “ date and time, start­ing from which the mov­ing aver­ages’ val­ues are used as sam­ples. The val­ue count­down starts from the select­ed time into the past. The num­ber of val­ues for a sam­ple is set in “Sam­ple weight” para­me­ter.

For exam­ple, “Sam­ple start time” para­me­ter is set as 2013.01.31 20:00, while “Sam­ple weight” is set to 20. It means that 20 val­ues of mov­ing aver­ages will be tak­en at H1 from 2013.01.31 20:00 to 2013.01.31 01:00.

To write the val­ues, set the mode to “Write” and launch the Expert Advi­sor. In this case, select­ed sam­ple val­ues are writ­ten to the file.

The max­i­mum val­ue of “Sam­ple weight” para­me­ter is no more than 500.

The file should con­tain sam­ple val­ues of the same length to ensure the Expert Advi­sor’s cor­rect oper­a­tion. Each spec­i­men stored in the file has its own index. The index starts with 0. The sam­ple’s index can be seen in “Read” mode. If you want to delete any sam­ple from the file, spec­i­fy the sam­ple’s index in “Sam­ple Index” para­me­ter, select “Delete” mode and launch the Expert Advi­sor.

Normal Mode of the Expert Advisor’s Operation

Work mode” para­me­ter (“Trade” val­ue) is respon­si­ble for the Expert Advi­sor’s nor­mal oper­a­tion mode.

Below are para­me­ter set­tings. The names of most of them are self-explana­to­ry.

  • Peri­od of Fast Mov­ing Aver­age
  • Peri­od of Slow Mov­ing Aver­age
  • Method of Mov­ing Aver­age — method of mov­ing aver­age’s cal­cu­la­tion.
  • Price of Mov­ing Aver­age — mov­ing aver­ages’ price type.
  • Sam­ple weight A spec­i­fied val­ue should be equal to sam­ple weights con­tained in the file.
  • Cor­re­la­tion — cor­re­la­tion’s thresh­old val­ue.
  • Order vol­ume
  • Trail­ing Stop lev­el (in points). If the val­ue is 0, Trail­ing Stop func­tion­al­i­ty is not used.
  • Stop Loss lev­el (in points).
  • Take Prof­it lev­el (in points).
  • The vol­ume of orders as a per­cent­age of the deposit — lot vol­ume man­age­ment para­me­ter. If the val­ue is 0, the lot vol­ume is tak­en from “Order vol­ume” para­me­ter. Oth­er­wise, it is cal­cu­lat­ed as a spec­i­fied per­cent­age of the deposit.
  • Adding to the open posi­tion — mode of adding to the open posi­tion (enabled by default). If a new mar­ket entry sig­nal sim­i­lar to the direc­tion of the already opened posi­tion appears, a new deal is per­formed.
  • Num­ber of attempts to open a posi­tion
  • Val­ue of slip­pages in points
  • Enable com­ments — enable dis­play­ing com­ments on the chart.
  • Mag­ic Num­ber of Advi­sor
  • Pause after trad­ing in mil­lisec­onds — pause after a trad­ing oper­a­tion in mil­lisec­onds.

Correlation 2 moving average 

Relat­ed Posts
Expert Advisor MoneyBet
Mon­ey­Bet Expert Advi­sor works on 1 cur­ren­cy pair — USDJPY. Lots are set up man­u­al­ly in the Lots para­me­ter. It is based on fil­tered-MACD to trig­ger the BUY sig­nals. Open …
Expert Advisor RobotBands
The trad­ing robot imple­ments a stan­dard trad­ing strat­e­gy based on Bands indi­ca­tor. A sig­nal is gen­er­at­ed when the price rolls back from the Bollinger Band’s bor­ders. If the price pierces or …
Expert Advisor Amazing Channel
The Expert Advi­sor uses math­e­mat­i­cal strate­gies with­out any indi­ca­tors. The first deal is opened when the price touch­es or breaks the lev­el of the price chan­nel. The price chan­nel is …
Expert Advisor DiTrade
DiTrade Expert Advi­sor is based on the cus­tom indi­ca­tor DiTrend. Entry points are deter­mined using val­ues of the DiTrend indi­ca­tor. Posi­tions are closed when reach­ing spec­i­fied prof­it and loss lev­els. Input Para­me­ters Peri­od …
Expert Advisor Smart Neurons
Smart Neu­rons Expert Advi­sor is devel­oped on the basis of a neur­al net. It can trade on any cur­ren­cy pair. The effi­cien­cy of the net is a result of using …
Expert Advisor MT5 FF Economic Calendar
The eco­nom­ic cal­en­dar is made in the form of an Expert Advi­sor that down­loads the data from one of the most pop­u­lar Forex sites ( The data is pre­sent­ed in …
Expert Advisor Trade Manager Pro MT5 Version
Every Forex trad­er knows that exit strat­e­gy is the key to suc­cess in Forex. But does every­one fol­lows that knowl­edge? 95% of traders do not fol­low it due to such emo­tions …
Expert Advisor Ace Scalper
Trad­ing Strat­e­gy Ace Scalper works on the GBPUSD cur­ren­cy pair. The strat­e­gy is based on the find­ing of price fluc­tu­a­tions in the qui­et peri­ods for the cur­ren­cy mar­ket: from 22:00 …
Expert Advisor KLEO SYSTEM SET
KLEO SYSTEM SET — mul­ti­c­ur­ren­cy, mul­ti­sys­tem and mul­ti­func­tion­al Expert Advi­sor. Using only two lev­el sets (KLEO INDICATOR SET), as well as var­i­ous types of posi­tion track­ing and clos­ing, select­ed mon­ey …
Expert Advisor AG6
AG6 Bot is not using reg­u­lar indi­ca­tors, it’s a sys­tem based on the behav­ior analy­sis of the pair select­ed. Opti­miza­tion is very fast and tun­ing is sim­ple. Fea­tures: Man­age Trad­ing time. Full mon­ey man­age­ment …
Expert Advi­sor Mon­ey­Bet
Expert Advi­sor Robot­Bands
Expert Advi­sor Amaz­ing Chan­nel
Expert Advi­sor DiTrade
Expert Advi­sor Smart Neu­rons
Expert Advi­sor MT5 FF Eco­nom­ic Cal­en­dar
Expert Advi­sor Trade Man­ag­er Pro MT5 Ver­sion
Expert Advi­sor Ace Scalper
Expert Advi­sor KLEO SYSTEM SET
Expert Advi­sor AG6

Leave a Reply


Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.