Avoid Extended Entry Using MA & ADR: (Addition to Existing EA)

MQL4 Индикаторы Эксперты

Техническое задание

Hi, Thanks for looking at my requirement. 

Here are the details of the job and right now, we do have 2 jobs to do in same file. 

The clear detailed explanation along with the pictures are in the google drive link : 

https://drive.google.com/drive/folders/14KMGzunkE-Hbg0eK6iUrs4DNvRetTJYc?usp=sharing


Also, i am into this coding thing for more than 2 years now full time. I am a math guy and not a coder. So the requirements will be in top notch:)

Let me know, if you interested to take this up :) 

Experienced Coders is what i need and i have multiple works followed by this. 

Wish to work with you soon. 

Regards


Here are the job details:

Avoid Extended Entry Using MA & ADR:


ADR Indicator:


In ADR indicator, we have a buffer named: ADR pips.

Now, we need to get the value of X % of ADR:

Let’s consider 15% of ADR. Input needed in the indicator.

Now, use TF as M15(Default)

Input needed for this as well.

  Breaker Candle:

For Buy:

The Open of the candle should be below the 20EMA(M15)

And close should be above the 20EMA(M15)

Green Arrows are breaker candles.

  For Sell:

The Open of the candle should be above the 20EMA(M15)

And close should be below the 20EMA(M15)

Red arrows are breaker candles.

Now, for every candle, consider the difference between the close of the candle and the MA value in the recent breaker candle.

For buy:

GBPCAD Example: 21st August. Time: 15:30 (M15) is the last breaker candle.

MA Value (20EMA) = 1.77280

ADR Pips : 82.8

15% of ADR pips: = 15% * 82.8 = 12.42 pips.

Now, check all the candle low price:

If the candle low price is 12.42 pips above the 1.74414 they are not valid.

Ie. 1.74414 + 0.001242 (12.42/10000 for all pairs and for JPY divide by 100)

=1.745382

So, new entries are valid, only if the candle low is less than 1.745382

For sell:

Usdjpy: 20th August: 10:00 (M15)

MA Value: 146.963

ADR pips: 215.85

15% of ADR pips: = 15% * 215.85 = 32.37 pips.

Now, check all the candle high price:

If the candle high price is 32.37 pips below the 146.963 they are not valid.

Ie: 146.963 - 0.032378(32.7/100 for JPY pairs and for other pairs divide by 10000)

=146.63 So, new entries are valid, only if the candle high is above than 146.63

 

Buffers to be added:

Breaker Buy Valid: 1

Breaker Sell Valid: 1

Add it to all candles, which are valid in the above method.

20EMA Buy Valid: 1 (if the candle is below the 20EMA)

20EMA Sell Valid: 1 (if the candle is above the 20EMA)

 

Total Buy Valid: Breaker Buy Valid + 20EMA Buy Valid

Total Sell Valid: Breaker Sell Valid + Breaker Sell Valid

The above total buy buffer, will either print as 0 or 1. It can’t be 2, if the price is above 20ema, 20 ema buy valid will be 0. And breaker buy valid will only work as 0 or 1.

 

Integration to Shriyaa EA:

Whenever a trade is about to enter, check Total Buy Valid and Total Sell Valid in this indicator buffer.

Only if they are 1 in the respective direction, a trade is allowed, if not print a log: for buy:

Trade is restricted due to Total Breaker Valid on Pair (XXX) for Buy

For sell:

Trade is restricted due to Total Breaker Valid on Pair (XXX) for Sell

 

For Sell: the vertical line is the breaker candle and the tick mark will be the last entry candle for sell

Green horizontal line will be the maximum limit and the blue zone candles are only valid for entries.

 

For Buy: the vertical line is the breaker candle and the tick mark will be the last entry candle for buy

Green horizontal line will be the maximum limit and the blue zone candles are only valid for entries.

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Откликнулись

1
Разработчик 1
Оценка
(10)
Проекты
25
28%
Арбитраж
2
0% / 0%
Просрочено
1
4%
Загружен
Похожие заказы
I need an experience developer that can developer a Rsi based indicator and later convert it to an E.A using this indicator and my support and resistance indicator for trade setup
I need a Professional who can take my think or swim script and convert it to an equivalent ninja script indicator. i want it to function exactly in ninja as it does for TOS. end product should be an indicator with all the code visible that I can load onto my chart and I should see it performing live exactly the same way it does on TOS
I kindly need help that can you convert a indicator that is on Tradestation to the ninja trader platform? I use to trade on Tradestation, now I also use NT8, I have a indicator called Hawkeye Heat Map in Tradestation. I need it converted to NT8. I currently do now have Tradestation, but I do have all my indicators saved
Hello, I have an EA already created and what I require is a modification to the code so that when a backtest is executed, it generates a CSV file with custom data that I want to extract to perform an analysis of the backtest operations
Convert Trading View Indicator to MT5 indicator 1. must have the same results and as trading view in buy and sell areas 2. the functions must be the same as trading view no exceptions
Hello, I am in need of a Professional who can help me to convert my Tradingview to Mt4. Please let me know if this is something you can handle perfectly and your price for the conversion. Looking forward to hear from you. Thanks
Hi, I need a professional in this field. I have a cbot using two free indicators available on ctrader platform. The specification is attached. Please can you provide your quote for completing this cbot? Thanks
I'm looking for a quote from a developer who can compile this source code as DLL file so that it works on Forex Tester 5 They are all open source trading view indicators. Forextester 5 have advised that custom indicators in C++ or Delphi programme language are compatible with them
Pinescript to MQL5 100 - 200 USD
READ IT URGENT, i need to complete this job in 1-2 day so APPLY it only if can do it, if some requirement is not clear tell me, im here, please be careful, i need this in 1-2 days, if you are not sure, not apply it, i dont want leave BAD FEEDBACKS please
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I

Информация о проекте

Бюджет
30 - 50 USD

Заказчик

Размещено заказов2
Количество арбитражей0