
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Try something like this (all except the corner)
Thank you so much mladen. I hope you are as brilliant at trading as you are at helping traders!
Best regards,
Mladen i can't succeed in make it working. It does not update itself and does not show alerts. Can you help, please?
thefxpros
Yo are using shifted values. Arrows for those shifted values will never appear on current or first closed bar - meaning that you can not get alerts if you are testing those two bar values
Simon
Then you have to check for close conditions the same way as for open conditions
Can I do it like this:
Thanks!
Can I do it like this:
Hello Mladen ,
Is me again (-.-;)
Now i try to add the ma candle to it, but when i compile it have error "' start' - function already defined and has body ".
I read the doc from mq4 , but i still cant understand .
https://docs.mql4.com/basis/function/events
int OnCalculate is place on before start function or after ?
And is that can have two IndicatorCounted() in same indicator ?
Please help me to check , what i do wrong .
Thank you .
Hello Mladen ,
Is me again (-.-;)
Now i try to add the ma candle to it, but when i compile it have error "' start' - function already defined and has body ".
I read the doc from mq4 , but i still cant understand .
https://docs.mql4.com/basis/function/events
int OnCalculate is place on before start function or after ?
And is that can have two IndicatorCounted() in same indicator ?
Please help me to check , what i do wrong .
Thank you .
You can not have OnCalculate() and start() in the same code (they are the same - the mql compiler translates them to same). Leave just one - the other must either have different name or, the best, if you need it, should be merged with the remaining function
ok now i understand , will try to merged it .
Thanks .
Dear mladen,
I've tried both suggestions without succes but I've realized that the indi does't update when running in a EA as in the following picture.
Should be possible to fix it ?:
Dear mladen,
I found only half of the solution: I have cretated the attached indicator ( Sigma_Andrea_New_1 )where th sima value works also during a backtest but the average not ( the values slould be like the bottom indi - Sigma.mq4- , attached when the EA stopped ). Could you please fix it ?
Hello mr mladen ,
Can you help me to add the ObjectSetFiboDescription to this indicator .
I just want to adding the price on the level (Example: (61.8) - 234.67).
Thank you .
Hello mr mladen ,
Can you help me to add the ObjectSetFiboDescription to this indicator .
I just want to adding the price on the level (Example: (61.8) - 234.67).
Thank you .
stevenpun
Did you try doing it (this is the form of it :
bool ObjectSetFiboDescription(
string object_name, // object name
int index, // level index
string text // new description
);
That way you can place it at exact place where you want it. Otherwise I would be guessing what is your intention