dcstoyanov / Publications
Forum
Dialog takes always close event
Hi, the minimal example shown here is an AppDialog with a Button which should create a separate Dialog with a second Button. The problem is that clicking on any area of the Dialog (except the caption) set the Dialog to be Visible(false). I've checked the event
Loop with iCustom in Expert Advisor and in Indicator
Hi, I have an Expert Advisor which retrieves, with iCustom() , values from two buffers calculated by an Indicator: one buffer is associated with data get from the current Symbol() , while the other one uses iCustom() to get data from a different SYMBOL. The indicator prints correctly the two
ArrayInitialize() does not initialize buffers when rates_total diminish
Hi, I have an indicator which prints alternatively on the chart, that is if one buffer has a value the other one has an empty value. Values are printed till the second last bar (current bar 0 is the rightmost bar), only when a new bar appears on the chart. The indicator works properly till the next
Difficult to synchronize data with VPS
Hi, I have purchased a VPS from MQL on which, at the moment, I have an EA perfectly running but I struggle to synchronize it every time I want to push an update. I have to wait hours before I can receive an update [see image attached]. If I try to press "All" I don't receive any confirmation
iCustom not always reliable
From my use of iCustom() in an Expert Advisor, and from several tests, I've made the conclusion that, in general, one cannot send or close orders on the same bar on which the signal is triggered. The reason for this issue is because: 1) the Indicator makes all its calculation 2) then it fills the
Color two buffers alternately
Hi, I have two buffers which I would like to color depending on a condition. In the following simple example the condition is on the close price. The script seems to work but I have an issue when, between two candles, the price change direction (see image attached). Note that the problem doesn't