NO.5 Free EA for MT5 Using Accumulation Distribution #FX Automatic Trading

NO.5 Free EA for MT5 Using Accumulation Distribution #FX Automatic Trading

Accumulation Distribution

basic specifications

After determining the time axis, based on Accumulation / Distribution
Calculate the moving average and based on that value
If it exceeds, buy it.
If it falls below, sell it.

If you have a position,
If the index reverses
After closing the position
Get the opposite position.

InPut input value setting (variable name initial value explanation)

// AD Accumulation / Distribution Oscillator
“AD Oscillator Settings”
AD_period = PERIOD_CURRENT; // AD oscillator calculation target time axis
AD_applied_volume = VOLUME_TICK; // Type of volume used for AD calculation
AD_heikin = 1000; // AD average calculation number MAX 5000

//Profit ant Stop loss setting
//When ordering
TP_Bairitu = 0; //Profit when ordering : 0 = Not set, Other than= Rate from current price >> Example: 0.005
SL_Bairitu = 0; //Profit when ordering : 0 = Not set, Other than= Rate from current price >> Example: 0.005
//At the time of tick
TP_kin = 100; //tick time Profit : 0 = not set, Other than = Fixed value >> Example: 100
SL_kin = -100; //tick time Stop loss : 0 = not set, Other than = Fixed value >> Example: -100(Negative value)

//lot and magic number
input double Fix_Lot = 0.01; //Order lot
input ulong MagicNumberA = 123456789; //magic number
input bool log_out = 0; //output the log
input bool DamiDami = 0; //Dummy setting for optimizing invalidity

supplementary explanation

TP_Bairitu and SL_Bairitu are set when the position is acquired.
If it is 0, there is none.
If 0.01, the current price is
If it is 100 yen, the profit will be 101 (100 + 100 * 0.01).
The stop loss is 99 (100-100 * 0.01).

Enter fixed values ​​for TP_kin and SL_kin. Judgment is made for each Tick.
If you enter TP_kin as 1000, it will be settled when the profit and loss becomes 1000 or more.
If you enter -100 in SL_kin, the profit and loss will be settled when it exceeds -100.
Enter a negative value for SL_kin.

Download this EA.

iAD_20211008.mq5

iAD_20211008.ex5

Share this content:

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

Proudly powered by WordPress | Theme: HoneyBee by SpiceThemes