and thanks in advance for everyone who's givin' up his time supportin' the community.
I got the Supertrend-Indicator
i'm not good at programming with MQL5 so if i'm wrong approach, could you give a simple example?
The strategy is simple, I want to open only buy positions when the trend is positive, and only sell positions when it is negative.
double SUPERTRENMIO = Supertrend1;
Comment(Supertrend); // i used this to try to see which type of value i got.
Forum on trading, automated trading systems and testing trading strategies
When you post code please use the CODE button (Alt-S)!
Don't do that. Someone searching might find this thread and still be clueless. What was the problem? What solved what?
How To Ask Questions The Smart Way. 2004 When You Ask. Follow up with a brief note on the solution.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.