AVERIGING AND PYRAMIDING automatic trading strategy using sma ema

MQL4 전문가 Forex Python

명시

I am trying to implement an EA with a pyramiding averaging martingale two-way buy-sell strategy.

If an entry condition occurs in a specific direction, an entry is made with a user-specified order lot number, and liquidation is made when the target is reached, and additional entry is made after a certain interval when it goes to -.

At this time, additional entries are made in the multiple set by the user, and when a rollback occurs, liquidation is made when the combined liquidation target is reached.

If the trend reverses and turns upward, we enter in the opposite direction and operate in the same way.

The detailed explanation is as follows, and any additional matters will be handled in consultation with the developer.


Trading strategy explained

1. Use 2 SMA and 2 EMA to judge the trend and decide the entry point as BUY SELL.

2. Once the target profit is reached, liquidate the profit and re-enter.

3. Execute additional entry when loss occurs at a certain interval

4. When the trend changes and turns in the opposite direction, a new entry is initiated in the opposite direction.

5. Trend judgment is to buy when SAM1 is above SMA2 and EMA1 is above EMA2.

In the opposite case, it is judged as a sell

6. How to realize profits

Entering as a buy, liquidation is executed when the target is reached with the sum of buys

Entering a sell order means liquidation upon reaching the target sum of the sell order

When buy and sell entries occur simultaneously, the entire buy and sell are liquidated when the sum of buys and sells reaches the target.

7. Set buy, sell and liquidation targets

1) Buy averaging target

2) Buy pyramiding goals

3) Sell averaging target

4) Buy averaging target

5) Buy and sell combined profit target

8. Execute hand cut

When there is a buy order and the trend changes and a sell order is entered, the sum of buys and sells does not reach the target.

Execution of liquidation of entire order when the sell entry does not make a profit and additional entry is made

9. Additional entry methods

Buy pyramid additional entry interval; fixed pips

Buy Averaging Additional Entry Interval; Fixed pips

Sell pyramiding additional entry interval; fixed pips

Buy Averaging Additional Entry Interval; Fixed pips

10. How to multiply the lot of additional entry; Setting the Martingale multiplier

Additional entry multiple for purchase pyramiding: Fixed multiple

Buy Averaging Additional Entry Multiple; Fixed Multiple

Sell pyramiding additional entry multiple; fixed multiple

Buy Averaging Additional Entry Multiple; Fixed Multiple


11. User Settings Options

1) Password

2) Magic number: 10

3) SMA1: 10

SMA2 ; 40

EMA1:10

EMA2: 40

4) SMA, EMA based TIMEFRAIM: Select 1 minute, 15 minutes, 1 hour

4) BUY Target Amount: $10

SELL Goal Amount: $10

BUY SELL Target amount: $1


12. BUY condition execution activation: TRUE/FALSE

Whether to activate entry when SELL condition is met: TRUE/FALSE


13. Set the delay time for entering the next order after liquidation execution: 0, ~ 60


14. Martin entry limit: 2 to 10 times









응답함

1
개발자 1
등급
(284)
프로젝트
459
39%
중재
94
44% / 18%
기한 초과
73
16%
로드됨
게재됨: 2 코드

프로젝트 정보

예산
30+ USD
개발자에게
27 USD
기한
 10 일