Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "mql"
-
Again idiotic language or documentation.
I want to just draw stupid arrow on chart. Took code from example. It just does not draw. No fucking error.
mql language.
Just in case somebody knows:
ObjectCreate(name, OBJ_TEXT, 0, 0, 0, 0, 0);
ObjectSetText(name, name);
ObjectSet(name, OBJPROP_COLOR, Green);
//ObjectSet(name, OBJPROP_TIME1, Time[0]+2*Period()*60);
ObjectSet(name, OBJPROP_TIME1, Time[0]);
ObjectSet(name, OBJPROP_PRICE1, High[0]);
this code is in onTick() method.
It looks like there are tons of posts on how to do it but nothing works what I have tested.
I really from time to time think about writing some trading bot but probably thats why I stop doing it because it takes so much time to do simple things with this language.
I could do with languages which I know - php, js , but still if i want to run it with brokers who have metatrader, I would need to know mql language :(3 -
Metatrader 5 mql editor idiots. I have made changes, saved file and it is empty. I can only undo changes, which makes it become as it was before changes. Fucking idiots.
Later I see when I open the file from windows browser in notepad++ - tthe changes exists. What a fuck bullshit. So at least they exists but idiots show same file in metaeditor with old changes after undo or empty if not undo. -
Metatrader and its forum. I have asked a question 2 weeks ago, simple one. Just want to know how it calculates loss in backtest because it does not match my calculation. And nobody is answering. Then I go add comment to support thread, and my comment was deleted twice! wtf. And I cannot find in documention or in other forums my answer. Need to try stackoverflow maybe. In official forum they should know best. And it looks like it is active forum.6
-
Why the fuck is MQL C++ based? Why not make a simple scripting language which gets interpreted by your application? I don't want to write headers and definitions constantly, I'm just trying to write a trading indicator ffs1