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 EA microMoney EURUSD
The EAmi­croMoney Expert Advi­sor works on EURUSD. It has the fol­low­ing para­me­ters: max­i­mum step price, mov­ing aver­age peri­od and mov­ing aver­age shift. It is not bound to any spe­cif­ic time­frame. It uses …
Expert Advisor Shmendridge PAM Trend4
About the PAM (Price Action Mas­ter) EA Series These mul­ti-sym­bol mul­ti-time-frame bots enter on high prob­a­bil­i­ty engulf­ing bar and shoot­ing star/hammer/pin bar pat­terns with a stop order. (Delays won’t mat­ter, slip­page and spread not …
Expert Advisor GBPUSD spot
GBPUSD spot is a short­/medi­um-term Expert Advi­sor. Based on its inter­nal indi­ca­tors the Expert Advi­sor opens posi­tions look­ing for around 45 pips of prof­it. Take a clos­er look to our aston­ish­ing …
Expert Advisor BIG Fishing Nets
This is a half-scalp­ing sys­tem using Every tick test. Accu­rate Fish­ing Nets do not use the same core com­put­ing. Cur­ren­cy: EURUSD Peri­od: M1 Phi­los­o­phy is to max­i­mize prof­its in exchange for min­i­mal loss. …
Expert Advisor AFScashcard2
I con­stant­ly work on improv­ing the EA and test it on many demo accounts to find the best set­tings for live trad­ing. Please con­tact me for any ques­tions. Note: This Expert Advi­sor …
Expert Advisor TrendValuerTrading
Trend­Val­uer­Trad­ing is a mod­i­fi­ca­tion of the free Trend­Val­uer Expert Advi­sor. The stan­dard set of func­tions allow­ing the trad­ing robot to work on a real mar­ket has been added. Mod­e­Hu­ru mode has been …
Expert Advisor CAP Saifan Trading EA MT5
CAP Saifan Trad­ing EA is a ful­ly auto­mat­ed Expert Advi­sor for Forex trad­ing that uses range break­outs strat­e­gy. This EA is designed to trade EURUSD which imple­ments a com­plete and ful­ly-func­tion­al …
Expert Advisor TradeCopier follow
If you want some­thing as below: Sell FOREX trad­ing sig­nal. Man­age mul­ti­ple accounts. Fol­low the trad­ing from some­body. “TradeCopier_follow” and “TradeCopier_source” can help you! Fea­tures: Copy­ing from one source (mas­ter) account to mul­ti­ple fol­low­er (slave) accounts. Allow …
Expert Advisor EA trade in two price ranges
The EA trades based on two price ranges. Set­tings Period_Open ” peri­od for posi­tion open­ing; Period_Close ” peri­od for posi­tion clos­ing; Open_Type ” trade direc­tion: 0 — Buy only, 1 — Sell only, 2 …
Expert Advisor Vates
Vates is a Latin word mean­ing a prophet. Vates is a mul­ti­c­ur­ren­cy trend Expert Advi­sor that can run on any type real accounts, on any time­frame, with any ini­tial deposit, with …
Expert Advi­sor EA microMoney EURUSD
Expert Advi­sor Shmen­dridge PAM Trend4
Expert Advi­sor GBPUSD spot
Expert Advi­sor BIG Fish­ing Nets
Expert Advi­sor AFScashcard2
Expert Advi­sor Trend­Val­uer­Trad­ing
Expert Advi­sor CAP Saifan Trad­ing EA
Expert Advi­sor Trade­Copi­er fol­low
Expert Advi­sor EA trade in two price
Expert Advi­sor Vates

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.