Forum

ChartIndicatorAdd and drawing style

I tested the EA in https://www.mql5.com/en/docs/chart_operations/chartindicatoradd and works well. Now I wish modify indicator 's style/width/color, is there a way? Thanks Nicola

How to intercept applied_price?

I'm experimenting on indicators and I wrote a simple SMA using iMA function, it works well just for program fixed applied_price (PRICE_CLOSE). //+------------------------------------------------------------------+ //| SMA_03.mq5 | //|

FillingCheck doesn't pass

Hi there I've downloaded ma_cross.mqh and testma_cross.mq5 from "Create Your Own Trading Robot in 6 Steps !" https://www.mql5.com/en/articles/367. I checked the Expert Advisor in the Tester for EURUSD on daily TF between 2014.09.01 and 2015.04.15 and I had no trades because of Trade class doesn't

Script that catchs two clicks on chart

Hi there I need to build a script that start catching two mouse click on chart and corresponding price levels. I used ChartPriceOnDropped successfully for just one price level but now I need two. How can I do? Thanks Nicola

Bug: ChartPriceOnDropped returns 0

After some day I resumed using MT5 and ChartPriceOnDropped() always returning 0 and ChartTimeOnDropped()) returning 1970.01.01. 00.00.00 I have reinstalled the program, but it's the same Nicola