I need an explanation of how to maneuver a BUY-SEL-BUY-SELL BLOCKS strategy(15 MINS) + A little help in the add to volume BLOCKS STRATEGY for compunding
-
BUY CONDITIONS SELL CONDITIONS
ENTRY : Candle close/price action crosses BELOW<M.A ENTRY : Candle close/price action crosses ABOVE>M.A- P:3 * P : 2
- S:-1 * S : -2
- M: EXPONENTIAL * M : EXPONENTIAL
- APPLY TO : LOW * APPLY TO : HIGH
COMPUNDING FORMULA
*LOTS TO ADD=0.05
*OPEN PRICE BELONGS TO=THE CURRENT PARTIAL TRADE
*PIPS AWAY = AFTER 30 PIPS -
@od Ok. Do you have an initial project to begin with? If so, please share it here. On the other hand I would appreciate some additinal info about your notation. What does this mean exactly?
P:3 * P : 2
S:-1 * S : -2 -
@l-andorrà
*P=PERIOD
*S=SHIFT -
@l-andorrà
I had done a few but after backtesting on mt4 a couple of times using different methods the conclusion was that using a negative shift property on a M.A cant work in an EA due to the lag hence it self terminates . So I deleted those strategies right now am working on other ones that can perform equally or better but without the negative shift property on the moving averages -
@od @l'andorra, sounds real familiar
-
@l-andorrà Sorry to insist, but are you multiplying periods 3 and 2?
-
@l-andorrà
BUY CONDITIONS SELL CONDITIONSENTRY FOR BUY : Candle close/price action crosses BELOW<M.A = Period : 3 , shift : -1 , Method : Exponential , Apply to : low
ENTRY FOR SELL : Candle close/price action crosses ABOVE>M.A = Period : 2 , shift : -2 , Method : Exponential , Apply to : High
COMPUNDING FORMULA
*LOTS TO ADD=0.05
*OPEN PRICE BELONGS TO=THE CURRENT PARTIAL TRADE
*PIPS AWAY = AFTER 30 PIPS -
@od Ok. This is the basic structure for a buy:

Now I need some more info about the second part. What do you mean by 'OPEN PRICE BELONGS TO=THE CURRENT PARTIAL TRADE'? How many open trades are supposed to be at the same time?
-
@l-andorrà OK . I don't know why you are using a candle ID with a value of one but it worked . About the second part you can now open a SELL trade using similar method but with the help of a CLOSE TRADES BLOCK just before placing the SELL NOW BLOCK. Use the same blocks pattern for the BUY too.
Now the compounding part
A ** FOR EACH TRADE BLOCK** should be used still in connection with the BUY-SELL-BUY-SELL STRATEGY .In the block properties is where you find one of the options to pick is PIPS AWAY FROM THE OPEN PRICE...OF THE CURRENT PARTIALL TRADE . THE PIPS AWAY VALUE TO BE INPUTED , SHOULD BE THE PROFIT VALUE IN PIPS THE MKT HAS MOVED IN ORDER TO OPEN ANOTHER TRADE OF THE SAME TYPE BUT NOW WE CAN ADD TO THE VOLUME OF THE LOT SIZE THUS PROFITING MORE FROM SAME NUMBER OF PIPS HENCE THE COMPUNDING STRATEGY.IN THIS STRATEGY WHILE YOU OPEN THE ADDED TRADES IF IN LONG TERM , THE PARENT TRADE AND OTHER PARTIALL TRADES WOULD STILL BE OPEN WAITING FOR EXIT TO WORK OUT. -
@len-1 For a M.A with negative shift use the CANDLE ID 1. It works that way
-
Got it, for me though it used to only triggers sells, no buys. Now, it doesn't trigger either
-
@od Well, I'm happy to help you, but I would also appreciate some effort on your side.
Why don't you try to bluid a first project and then we can work on it together? -
@len-1 There are many parameters that could have caused that apart from the candle ID . It's better to share the project someone might troubleshoot it faster
-
@l-andorrà https://fxdreema.com/shared/Fpc4mLJVd
Here's one am trying to work on . It's intended to be used on a 1 mins timeframe . It still works on the buy-sell-buy-sell strategy. For this one , I haven't been able to test a working one but it is a promising one
-
@od Good. Now you should try to buid the equivalent sell structure.
-
@l-andorrà A question here... I have managed to build some EAs that actually work. After backtesting in MT4 most have a total negative profit for over a 30 year period . The strategies seem profitable on the chart but the results are always proving wrong . Nevertheless , I've been troubleshooting and some commonalities in the different EAs are ;
a.)Lack of a take profit target.
b.)The results keep showing a tremendous drawdown.
c.)Use of fixed spreads while backtesting.-Could the ignorance of setting the TP targets be the cause of my strategies to drawdown after having profits ?
-If so what are the best methods of setting the take profits targets in the EA ?
-
@od Those 3 features are certainly significant factors to be considered when backtesting. However, please remember that financial markets have evolved in a very dramatic way for the last 10 years, now imagine including the last 30!! IMHO, you should focus on the last 10 years only. That's more than enough time to evaluate a strategy.