![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Dear Mladen
I found the problem. It was Bid and Ask problem!
Best,
Hello,Mladen.Whether probably to add in Momentum-Atr the ema+ filter indicator? But only that EMA was too normalized? It will be probably better to add other average, SMA maybe.Frankly, I don't know what to make. I want to receive in this indicator a cross with MA.It is necessary in order that momentum crosses zero-entry. Crosses a MA -exit
Please help.
Thank you.Dear Mladen,if it is impossible or it is irrational, please, tell me
Dear Mladen,if it is impossible or it is irrational, please, tell me
Air92
I really am not sure if I understood the post correctly. Here is a version that has a "signal" line added for which you can chose the averaging method (the usual ones : sma, ema, smma and lwma)
Air92 I really am not sure if I understood the post correctly. Here is a version that has a "signal" line added for which you can chose the averaging method (the usual ones : sma, ema, smma and lwma)
Yes. You correctly understood.Thank you,it that is necessary.
Volatility histogram
Hi,
I got this indicator which plots how many std deviations each bar moves but when I plot it for for gold or s&p the std deviations is not plotted correctly. The website I got it from explains how it is suppose to work: Close to Close - MetaTrader Expert Advisor
Can someone please help to fix it so that it shows the number of standard deviations a bar has moved compared to x bars.
Thanks
standard-deviation-close-to-close.mq4
Hi,
I got this indicator which plots how many std deviations each bar moves but when I plot it for for gold or s&p the std deviations is not plotted correctly. The website I got it from explains how it is suppose to work: Close to Close - MetaTrader Expert Advisor
Can someone please help to fix it so that it shows the number of standard deviations a bar has moved compared to x bars.
Thanks
![](https://c.mql5.com/forextsd/forum/126/golddaily.png)
standard-deviation-close-to-close.mq4tradewiser
As I see it, it is not meant to show standard deviations but standard deviation of a normalized momentum. As far as code is concerned, the way it is calculated it seems that the coder did exactly what he intended to do
ok, thanks. I understand now
tradewiser As I see it, it is not meant to show standard deviations but standard deviation of a normalized momentum. As far as code is concerned, the way it is calculated it seems that the coder did exactly what he intended to do
ichi360_monitor_v3_mod_1.mq4
johnjacob
In the code find the lines that have "OBJPROP_YDISTANCE" in the code and interchange the values for object named "txt1H_..." with "txt4H_..." and "txt30M_..." with "txt15M_...". Once when you do that (interchange y positions) all will be OK
you mean like this ... it didnt come out right ... its better if you do it , then ill be done asking
// --- MasterWhite Text added
ObjectCreate("txt15M_1", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt15M_1", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt30M_1", OBJPROP_YDISTANCE, TextOffSetFromTop + 116);
ObjectSet("txt15M_1", OBJPROP_XDISTANCE, TextOffSetFromRight + 120);
ObjectCreate("txt15M_2", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt15M_2", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt30M_2", OBJPROP_YDISTANCE, TextOffSetFromTop + 116);
ObjectSet("txt15M_2", OBJPROP_XDISTANCE, TextOffSetFromRight + 94);
ObjectCreate("txt15M_3", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt15M_3", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt30M_3", OBJPROP_YDISTANCE, TextOffSetFromTop + 116);
ObjectSet("txt15M_3", OBJPROP_XDISTANCE, TextOffSetFromRight + 68);
ObjectCreate("txt15M_4", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt15M_4", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt30M_4", OBJPROP_YDISTANCE, TextOffSetFromTop + 116);
ObjectSet("txt15M_4", OBJPROP_XDISTANCE, TextOffSetFromRight + 34);
ObjectCreate("txt15M_5", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt15M_5", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt30M_5", OBJPROP_YDISTANCE, TextOffSetFromTop + 116);
ObjectSet("txt15M_5", OBJPROP_XDISTANCE, TextOffSetFromRight);
// ---- Original Text ( has moved down )
ObjectCreate("txt1H_1", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt1H_1", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt4H_1", OBJPROP_YDISTANCE, TextOffSetFromTop + 76);
ObjectSet("txt1H_1", OBJPROP_XDISTANCE, TextOffSetFromRight + 120);
ObjectCreate("txt1H_2", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt1H_2", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt4H_2", OBJPROP_YDISTANCE, TextOffSetFromTop + 76);
ObjectSet("txt1H_2", OBJPROP_XDISTANCE, TextOffSetFromRight + 94);
ObjectCreate("txt1H_3", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt1H_3", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt4H_3", OBJPROP_YDISTANCE, TextOffSetFromTop + 76);
ObjectSet("txt1H_3", OBJPROP_XDISTANCE, TextOffSetFromRight + 68);
ObjectCreate("txt1H_4", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt1H_4", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt4H_4", OBJPROP_YDISTANCE, TextOffSetFromTop + 76);
ObjectSet("txt1H_4", OBJPROP_XDISTANCE, TextOffSetFromRight + 34);
ObjectCreate("txt1H_5", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt1H_5", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt4H_5", OBJPROP_YDISTANCE, TextOffSetFromTop + 76);
ObjectSet("txt1H_5", OBJPROP_XDISTANCE, TextOffSetFromRight);
// --- MasterWhite Text added
ObjectCreate("txt30M_1", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt30M_1", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt15M_1", OBJPROP_YDISTANCE, TextOffSetFromTop + 136);
ObjectSet("txt30M_1", OBJPROP_XDISTANCE, TextOffSetFromRight + 120);
ObjectCreate("txt30M_2", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt30M_2", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt15M_2", OBJPROP_YDISTANCE, TextOffSetFromTop + 136);
ObjectSet("txt30M_2", OBJPROP_XDISTANCE, TextOffSetFromRight + 94);
ObjectCreate("txt30M_3", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt30M_3", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt15M_3", OBJPROP_YDISTANCE, TextOffSetFromTop + 136);
ObjectSet("txt30M_3", OBJPROP_XDISTANCE, TextOffSetFromRight + 68);
ObjectCreate("txt30M_4", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt30M_4", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt15M_4", OBJPROP_YDISTANCE, TextOffSetFromTop + 136);
ObjectSet("txt30M_4", OBJPROP_XDISTANCE, TextOffSetFromRight + 34);
ObjectCreate("txt30M_5", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt30M_5", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt15M_5", OBJPROP_YDISTANCE, TextOffSetFromTop + 136);
ObjectSet("txt30M_5", OBJPROP_XDISTANCE, TextOffSetFromRight);
// ---- Original Text ( has moved down )
ObjectCreate("txt4H_1", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt4H_1", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt1H_1", OBJPROP_YDISTANCE, TextOffSetFromTop + 96);
ObjectSet("txt4H_1", OBJPROP_XDISTANCE, TextOffSetFromRight + 120);
ObjectCreate("txt4H_2", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt4H_2", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt1H_2", OBJPROP_YDISTANCE, TextOffSetFromTop + 96);
ObjectSet("txt4H_2", OBJPROP_XDISTANCE, TextOffSetFromRight + 94);
ObjectCreate("txt4H_3", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt4H_3", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt1H_3", OBJPROP_YDISTANCE, TextOffSetFromTop + 96);
ObjectSet("txt4H_3", OBJPROP_XDISTANCE, TextOffSetFromRight + 68);
ObjectCreate("txt4H_4", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt4H_4", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt1H_4", OBJPROP_YDISTANCE, TextOffSetFromTop + 96);
ObjectSet("txt4H_4", OBJPROP_XDISTANCE, TextOffSetFromRight + 34);
ObjectCreate("txt4H_5", OBJ_LABEL, 0, 0, 0);
ObjectSet("txt4H_5", OBJPROP_CORNER, DisplayCorner);
ObjectSet("txt1H_5", OBJPROP_YDISTANCE, TextOffSetFromTop + 96);
ObjectSet("txt4H_5", OBJPROP_XDISTANCE, TextOffSetFromRight);