Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 293
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
https://www.mql5.com/ru/market/product/1144
I have this EA on sale in the Market for 1800 usd, I tested it on EURUSD and it makes money perfectly, on other pairs it trades with zeros, I think it has been adjusted to ticket history, can it be?
Share the information, please, because what's the point of writing an owl without having any normal DCs to work with.
https://www.mql5.com/ru/market/product/1144
I have this EA on sale in the Market for 1800 usd, I tested it on EURUSD and it makes money perfectly, on other pairs it trades with zeros, I think it has been adjusted to ticket history, can it be?
... and what language rules did you sculpt it according to?! For example:
:)
That's the problem, that's what needs to be "formulated" correctly, I've always had a good sense of logic, but it's been a month since I've been able to do it ((((((((
That's the problem, that's what needs to be "formulated" correctly, I've always been fine with logic, but I haven't been able to do it for a month now ((((((((
Help is at hand!
"if(iCCI(Symbol,0,14,PRICE_TYPICAL,0)<100&&iCCI(Symbol,0,14,PRICE_TYPICAL,0)<-100 {"
In my opinion, this example is missing brackets: 3 opening and 2 closing. I advise the author of the owl to check if all the brackets match.
I would write it this way:
if ((iCCI(Symbol,0,14,PRICE_TYPICAL,0)<100)&&(iCCI(Symbol,0,14,PRICE_TYPICAL,0)<-100)) {
"if(iCCI(Symbol,0,14,PRICE_TYPICAL,0)<100&&iCCI(Symbol,0,14,PRICE_TYPICAL,0)<-100 {"
In my opinion, this example is missing brackets: 3 opening and 2 closing. I advise the author of the owl to check if all the brackets match.
I would write it this way:
if ((iCCI(Symbol,0,14,PRICE_TYPICAL,0)<100)&&(iCCI(Symbol,0,14,PRICE_TYPICAL,0)<-100)) {
tried it, still shows an error at the end of the listing
In this example I think there are 3 opening and 2 closing brackets missing. I advise the author of the owl to check if all brackets match.
Also Notepad++ is a good idea, in Notepad itself you choose C++ syntax for mql4 code, in settings menu tabulation should be set to cp3 (by default it seems to be 4). At a glance, there are two benefits:
1. highlighting of similarly named variables throughout the code
2. highlighting of paired brackets wherever they are in code (including vertical highlighting if code is tab-aligned). Any brackets - round, curly or square.
And last but not least, handy find-and-replace (also in selections), labeling (which "marks"), generally a simple and uncomplicated development environment. If you combine it with meta-editor, you get not a studio, of course, but a moderately powerful tandem.
Good day to you all!
I have a script that places orders in a CU.
Please help me to change it so that spread is taken into account.
For example a pair GBPCAD spread 10 - more orders are Sell - so TP should be at 1.7010 and stop loss at 1.7000 (1.6999 is ideal))
Thank you
advise how to put in the spoiler
Good day to you all!
I have a script that places orders in a CU.
Please help me to change it so that spread is taken into account.
For example a pair GBPCAD spread 10 - more orders are Sell - so TP should be at 1.7010 and stop loss at 1.7000 (1.6999 is ideal))
Thank you
advise how to put in the spoiler