Tâche terminée
![](https://c.mql5.com/i/avatar/avatar_na2.png)
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Spécifications
Hi
I would like to make a new EA based onHarmonic pattern plus indicator(HPP) , the Price breakout pattern scanner(PBPS), and thefxr_sr_zones_ver2.9.4.
The EA must have money management function (fixed lots, equity%, SL nominative value, trailing stop, TP nominative value) alert notification and time filter and adaptable maximal number of orders for the same currency pair(i must be able to set more than one entry for a given currency pair). The EA must include the magic number in the comment (in the info corner)
The periods and values of the indicators must be adjustable.Buy entry:( the signal conditions must be once fullfilled on any bar beginning from the current bar as long as the HPP or PBPS pattern is still valid)
1- For the HPP: When a Bullish HPP pattern is formed and indicated byHPP
AND
-When the price hits a support level indicated by the fxr_sr_zones_ver2.9.4( i must be able to activate or inactivate this condition) see pic:https://www.mql5.com/en/charts/6906460/usdchf-h1-fx-choice-limited
-RSI must be smaller than 50(i must be able to change the period and level values of RSI)
-Stochastic must be smaller than 50 (i must be able to change the period and level values of stchast.)
-CCi must be smaller than 0(i must be able to change the period and level values of cci)
2- For the PBPS: ( i must be able to handle the entries by PBPS independently from the HPP enties)
When the price in the completed bar breakouts from a bullish pattern or bothways pattern already formed and indicated by PBPS.
( For buy entry , the Price breakout in bothways pattern must be from above: see pic: https://www.mql5.com/en/charts/6906351/usdjpy-h4-fx-choice-limited : in this pic you have bothways pattern triangle and 2 prices breakout; the 1st is up , then the price returned to the pattern and the 2nd breakout happening later is down.)
Example of a PBPS bullish pattern see pic: https://www.mql5.com/en/charts/6906460/usdchf-h1-fx-choice-limited
-RSI must be smaller than 70( the use of RSI must be optional and i must be able to change the period and level values of RSI)
-CCI must be smaller than 100(the use of CCI must be optional and i must be able to change the period and level values of RSI)
- If the entry conditions of RSI, CCI (one of the 2 oscillators or both) concerning the PBPS entries are not met, then the entry depends on the following bar: if the price in following bar do not enter back in the bullish pattern than the entry is validated in the end of the bar(the bar following the price breakout bar). If the price in the bar following the breakout bar reenters the bullish pattern then forget about the entry.
Sell entry:( the signal conditions must be once fullfilled on any bar beginning from the current bar as long as the HPP or PBPS pattern is still valid)
1- For the HPP: -When a Bearish HPP pattern is formed and indicated by HPP
AND
-When the price hits a resistance level indicated by the fxr_sr_zones_ver2.9.4( i must be able to activate or inactivate this condition) see pic: https://www.mql5.com/en/charts/6906439/eurusd-h1-fx-choice-limited
-RSI must be higher than 50(i must be able to change the period and level values of RSI)
-Stochastic must be higher than 50(i must be able to change the period and level values of stchast.)
-CCi must be higher than 0(i must be able to change the period and level values of cci)
2- For the PBPS:( i must be able to handle the entries by PBPS independently from the HPP enties)
- When the price in thecompletedbar breakouts from a bearish pattern or bothways pattern already formed and indicated by PBPS.
See pic: https://www.mql5.com/en/charts/6906475/usdjpy-h4-fx-choice-limited
- -RSI must be higher than 30( the use of RSI must be optional and i must be able to change the period and level values of RSI)
-CCI must be higher than -100(the use of CCI must be optional and i must be able to change the period and level values of RSI)
- If the entry conditions of RSI, CCI (one of the 2 oscillators or both) concerning the PBPS entries are not met, then the entry depends on the following bar: if the price in following bar do not enter back in the bearish pattern, then the entry is validated in the end of the bar(the bar following the price breakout bar). If the price in the bar following the breakout bar reenters the bearish pattern then forget about the entry.
Buy exit
--When the price hits a resistance level indicated by thefxr_sr_zones_ver2.9.4 (For both HPP and PBPS entries)
or
- When RSI used as exit parameter hits a determined value( the use of RSI as exit must be optional and i must be able to change the period and level values of RSI) ( For HPP and PBPS entries)
or
-When the price hits the custom take profit indicated by HPP(For HPP entries)
or
-When the price hits stop loss indicated by HPP(For HPP entries)
or
-When the price hits stop loss nominated value ( For HPP and PBPS entries)
Sell Exit
-When the price hits a support level indicated by the fxr_sr_zones_ver2.9.4 (For both HPP and PBPS entries)
or
- When RSI used as exit parameter hits a determined value( the use of RSI as exit must be optional and i must be able to change the period and level values of RSI) ( For HPP and PBPS entries)
or
-When the price hits the custom take profit indicated by HPP (For HPP entries)
or
-When the price hits stop loss indicated by HPP (For HPP entries)
or
-When the price hits stop loss nominated value ( For HPP and PBPS entries)
References:
-HPP: https://www.mql5.com/en/market/product/4488
-PBPS: https://www.mql5.com/en/market/product/4859
-the fxr_sr_zones_ver2.9.4: https://www.fxtradingrevolution.com/supportresistance.html
Thx