Hey man can you speak like this or like this :) >> I'm breaking my eyes. :)
:-)) Yes I can like You, but I dont think that every one can like us, than ...... ya dolgen pusat na translute, tak na rabote gde rabotayu vse klavu s Uspanskoj raskladkoj. Uzvunyajte.
Well, a trade signal comes in. Let's say a signal comes in to open a buy order. Before we open it, we re-calculate the buy orders on our pair. If there are none, we open an order. If there is at least 1 order, we will not open a second buy order on the same signal.
These two subroutines are just order counters.
By the way, limiting orders on a single candlestick using counters is not the only way to avoid piles of orders on a single candlestick.
Yesterday I read "Gap 1_500 or how to dump a DC" and a similar thought occurred to me. In brief. What if we open positions on well correlated instruments (coefficient => -1 and 1) in both directions. The loss on the first instrument will be closed by profit on the second one and there may be some bread and butter left over. But something tells me that the idea is not new. Kindly comment on it.
I wrote an indicator, it shows the High-Low value as a histogram B if the value is higher than the previous - green, below - red. but the indicator is not displayed in the thermal, what is the error?
:-)) Yes I can like You, but I dont think that every one can like us, than ...... ya dolgen pusat na translute, tak na rabote gde rabotayu vse klavu s Uspanskoj raskladkoj. Uzvunyajte.
drknn, is this a limit on the number of orders?
Hey man can you speak like this or like this :) >> I'm breaking my eyes. :):-)) Yes I can like You, but I dont think that every one can like us, than ...... ya dolgen pusat na translute, tak na rabote gde rabotayu vse klavu s Uspanskoj raskladkoj. Uzvunyajte.
drknn, is this a limit on the number of orders?
Well, a trade signal comes in. Let's say a signal comes in to open a buy order. Before we open it, we re-calculate the buy orders on our pair. If there are none, we open an order. If there is at least 1 order, we will not open a second buy order on the same signal.
These two subroutines are just order counters.
By the way, limiting orders on a single candlestick using counters is not the only way to avoid piles of orders on a single candlestick.
I get an error during compilation:
'WriteError' - function is not defined
maybe 'WriteError' should be defined in global variables? i don't get it yet)
thanks)
I wrote an indicator, it shows the High-Low value as a histogram B if the value is higher than the previous - green, below - red. but the indicator is not displayed in the thermal, what is the error?
The code of the indicator:
I get an error during compilation:
'WriteError' - function is not defined
maybe 'WriteError' should be defined in global variables? i don't get it yet)
thanks)
That's right, you don't have the WriteError(i) function. This is my personal custom error handling function:-)) Yes I can like You, but I dont think that every one can like us, than ...... ya dolgen pusat na translute, tak na rabote gde rabotayu vse klavu s Uspanskoj raskladkoj. Uzvunyajte.
'kogda je budet MQL5?
>> this thread will help you. ALL variants are available here.
Why? The Sleep() function doesn't work in the tester???
If I'm not mistaken, I read somewhere that it doesn't work.