Simple Range EA help.

 

Just wondering if someone can help me or point me in the right direction.

I want to build an EA where I can specify a custom range and have it buy when the top of the range is crossed up and sell short with the bottom of the range is crossed down. Also, I want to reverse the orders if it currently have a open position.

Example:

User inputs: top (1.3254), bottom (1.3200);

Logic:

If current position = 0 then place buy stop at top and place sell stop at bottom;

If current position = long then place stop and reverse at bottom;

If current position = short then place stop and reverse at top;


Any help is appreciated.


Thanks

 
shanomaq:

Just wondering if someone can help me or point me in the right direction.

I want to build an EA where I can specify a custom range and have it buy when the top of the range is crossed up and sell short with the bottom of the range is crossed down. Also, I want to reverse the orders if it currently have a open position.

Example:

User inputs: top (1.3254), bottom (1.3200);

Logic:

If current position = 0 then place buy stop at top and place sell stop at bottom;

If current position = long then place stop and reverse at bottom;

If current position = short then place stop and reverse at top;


Any help is appreciated.


Thanks

Hello!

How will you get top and bottom, how many candles back are you looking?

 
I want to build an EA where

So where's the code and what's the problem?

No slaves here. Either learn to code or pay someone.

https://www.mql5.com/en/search

 

I'm willing to pay if someone is offering their services.


Regarding candles, the top and bottom are manual inputs.

 
shanomaq:

I'm willing to pay if someone is offering their services.


Where was one posting today MQL4 programmer will code any indicator expert-advisor script you need

or experienced MQL4 programmer offering help

or Profile 'kolier'