Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn 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.
Just in case somebody knows:
ObjectCreate(name, OBJ_TEXT, 0, 0, 0, 0, 0);
ObjectSet(name, OBJPROP_COLOR, Green);
//ObjectSet(name, OBJPROP_TIME1, Time+2*Period()*60);
ObjectSet(name, OBJPROP_TIME1, Time);
ObjectSet(name, OBJPROP_PRICE1, High);
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 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