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?
So where's the code and what's the problem?
No slaves here. Either learn to code or pay someone.
I'm willing to pay if someone is offering their services.
Regarding candles, the top and bottom are manual inputs.
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
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
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