As this is MQL4, I will move this topic to the MQL4 and Metatrader 4 section.
In future please post in the correct section.
As this is MQL4, I will move this topic to the MQL4 and Metatrader 4 section.
In future please post in the correct section.
seems inactive forum anybody please help out me.
Its very simple ea.
created ea with help of online ea generator, but it has limitations so
am stuck in coding stuff with lots of error have generated PLEASE ANYONE HELP
- Post in the correct location.
-
MAX(HIGH,4) < (HIGH,0) * 1.02 AND MIN(LOW,4) > (LOW,0) * 0.98 AND VOLUME > REF(VOLUME,1)*1.5 AND CROSSOVER(HIGH,MAXOF(HIGH,4))
No idea what crossover does. If the current high (or Bid) is above the previous high(s) then hasn't it crossed over? -
//| fxeabuilder.mq4 |
EA builder, EATree, Etasoft forex generator, Forex Strategy Builder, FOREXEADVISOR STRATEGY BUILDER, FX EA Builder, fxDreema, FxPro, Molanis, Online Forex Expert Advisor Generator, Strategy Builder FX, Strategy Quant, Visual Trader Studio, MQL5 Wizard, etc., are all the same. You will get something quick, but then you will spend a much longer time trying to get it right, than if you learned the language up front, and then just wrote it.- Since you haven't learned MQL4/5, therefor there is no common language for us to communicate.
If we tell you what you need, you can't code it.
If we give you the code, you don't know how to integrate it into yours.
We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem, but we are not going to debug your hundreds of lines of code. You are essentially going to be on your own. - EA builder makes bad code counting up while closing multiple orders.
EA builder makes bad code Bars is unreliable (Max bars in chart), volume is unreliable (miss ticks.) Always use time.
EA builder makes bad code, not adjusting for 4/5 digit brokers, TP/SL and slippage.
EA builder makes bad code, not adjusting for ECN brokers. pre-Build 500)
EA builder makes bad code, not checking return codes. - EATree uses objects on chart to save values — not persistent storage (files or GV+Flush.) No recovery (crash/power failure.)
- FX EA Builder makes bad code, not checking return
codes.
FX EA Builder makes bad code, loosing open tickets on terminal restart. No recovery (crash/power failure.)
FX EA Builder makes bad code, not adjusting stops for the spread.
FX EA Builder makes bad code, using OrdersTotal directly. - FOREXEADVISOR STRATEGY BUILDER makes bad code, non-updateing global variables.
FOREXEADVISOR STRATEGY BUILDER makes bad code, compilation errors.
FOREXEADVISOR STRATEGY BUILDER makes bad code, not checking return codes.
Hiring to write script - General - MQL5 programming forum - Since you haven't learned MQL4/5, therefor there is no common language for us to communicate.
-
bool buy_condition_1 = iCustom(NULL, 0, HMAX, 0, HIGH, 4) iHighest < High[0] *1.02 ; bool buy_condition_2 = iCustom(NULL, 0, LMIN, 0, LOW, 4) iLowest > Low[0] *0.98 ; bool buy_condition_4 = iCustom(NULL, 0, Volx0, 0, VOLUME, 0) iVolume > iCustom(NULL, 0, Volx1, 0, VOLUME, 1) iVolume ; bool buy_condition_5 = High[0] > iCustom(NULL, 0, H4, 0, HIGH, 4) iHighest ;
Your generated code is utter bable. Do not post code what won't even compile. Learn to code; throw out your conditional logic you posted and code it manually from scratch. - Help you with what? You stated a want. You have only four
choices:
- Search for it.
- Beg at
- Coding help - MQL4 programming forum
- Requests & Ideas (MQL5 only!) - Trade FX - Expert Advisors and Automated Trading - MQL5 programming forum
- Free coding for your trading system.. - General - MQL5 programming forum
- I will code & automate your strategy for free - General - MQL5 programming forum
- Make It No Repaint Please! - MQL4 programming forum
- Write ea for free - MQL5 programming forum
- MT4 to MT5 code converter - MQL5 programming forum
- MT4: Learn to code it.
MT5: Begin learning to code it. If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into yours. - or pay (Freelance) someone to code it.
Hiring to write script - General - MQL5 programming forum
No free help
interesting Williams,will definitely find a way out to problem.
Thanks for your suggestions inspired me and gave direction to go somewhere.
General rules and best pratices of the Forum. - General - MQL5 programming forum
Your duplicate posts have been deleted.
anyone with coding knowledge please tell me how to define a narrow range of 2 % of last four candles.(refer attached image)
I know it is a good brain exercise for mql coders here.
I know its difficult for me but if anybody have knowledge and can spare a min to resolve.
i will be more happy.
what seems easy to anybody can be difficult for another one so just tell if you know the answer to my questions.,if not even then also i will be happy and find a way out but that is secondary plan .
first let check if i can get some help here.,
Get the HH(4), the LL(4) The range is the difference. Buy if Bid goes above HH + 1% of the range.
Show us your attempt (using the CODE button)
and state the nature of your problem.
No free help
2017.04.21
Or pay someone. Top of every page is the link Freelance.
Hiring to write script
- General - MQL5 programming forum
2018.05.12
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I am making narrow range with last four candles in narrow range and enter buy if high crosses above narrow range created by last four candles.
Its very simple ea.
created ea with help of online ea generator, but it has limitations so
am stuck in coding stuff with lots of error have generated PLEASE ANYONE HELP