Crays Loh / Publications
Forum
Creating New indicator from MA data
Dear all, I hope you guys can point me in the right direction, i've search for quite sometime and trying to understand how do i use the data i got from Median price of a Moving Average Indicator. Yet to no avail. I'm trying to get a Median Price Moving Average Indicator (successfully) and using the
OnCalculate close price difference of each bar indicator
I'm pretty new to mql5 and are trying to create an indicator, what i want is simple, but i seem to be missing something from it. I want to compare the close price of the 2 bars by the minute, if it is more than a certain value, it adds 1 to a indicator (Array?) So Say Bar A-1 closes at 1.555 Bar A
Get Price of Last Traded Order
Dear all, So i'm pretty new to MQL5 and are trying to learn the language, What i'm trying to do is that i have pending orders with SL and TP being executed OnInit() What i needed is that if the pending order were closed due to hitting SL, i want to retrieve the price of that particular order. so i