Coding help - page 622

 
mladen:

Pan Kayun

As far as I see it is working OK (arrows are displayed when level 80 is crossed up and when level 20 is crossed down)

Ok thank you, i will try to test it again.

 

hello

I have a question how to set names of the patterns vertically? like here: https://c.mql5.com/31/7/pz-candlestick-patterns-mt5-screen-3873.png

thanks in advance for the help

Files:
patterns.mq4  17 kb
 

Dear mladen ,presently it is in subwindow but i need arrows for buy and sell signal on the chart ( on candle stick ) ...please try to do it sir ......

thanks and regards

 

Hello Mladen, can u please help with a ganngrid indicator, that has seperate control for both Horizontal and Vertical line as opposed to the single control in mt4's own.

If not can u point me to a ganngrid.mq4 source file , Thank You

 
hermes:
Hello Mladen, can u please help with a ganngrid indicator, that has seperate control for both Horizontal and Vertical line as opposed to the single control in mt4's own. If not can u point me to a ganngrid.mq4 source file , Thank You

hermes

The only mq4 file that I could find is posted here : https://www.mql5.com/en/forum/178927/page6

I am not sure if that is what you are looking for

 

how to set text vertically in this part of code? like here: https://c.mql5.com/31/7/pz-candlesti...creen-3873.png

if ((C1>O1)&&(O>C)&&(O<=C1)&&(O1<=C)&&((O-C)<(C1-O1))) {

if (Display_Harami == true) {

ObjectCreate(PatternText[shift], OBJ_TEXT, 0, Time[shift1], High[shift1] + Range*1.5);

ObjectSetText(PatternText[shift], "SR", 8, "Times New Roman", CornflowerBlue);

downArrow[shift1] = High[shift1] + Range*0.5;

}

if (shift == 0 && Show_Alert == true) {

pattern="Bearish Harami Pattern";

setalert = 1;

}

}

 
freakout:
how to set text vertically in this part of code? like here: https://c.mql5.com/31/7/pz-candlesti...creen-3873.png

if ((C1>O1)&&(O>C)&&(O<=C1)&&(O1<=C)&&((O-C)<(C1-O1))) {

if (Display_Harami == true) {

ObjectCreate(PatternText[shift], OBJ_TEXT, 0, Time[shift1], High[shift1] + Range*1.5);

ObjectSetText(PatternText[shift], "SR", 8, "Times New Roman", CornflowerBlue);

downArrow[shift1] = High[shift1] + Range*0.5;

}

if (shift == 0 && Show_Alert == true) {

pattern="Bearish Harami Pattern";

setalert = 1;

}

}

[/code]

You can not if you use OBJ_TEXT type of object

You have to use OBJ_LABEL to be able to set the angle. Do something like this :

[CODE] ObjectCreate("name",OBJ_LABEL,0,0,0);

ObjectSet("name",OBJPROP_XDISTANCE,100);

ObjectSet("name",OBJPROP_YDISTANCE,100);

ObjectSet("name",OBJPROP_ANGLE,90);

ObjectSetText("name","test label",20,"Arial",clrRed);
 

Hello, could you put the sound and text notification to this indikotor, with respect, I Irketska! I hope you can help me advance lagodaren!

Attached Files

Files:
bbci_v2.ex4  24 kb
bbci_v2.mq4  10 kb
 
artemiy009:
Hello, could you put the sound and text notification to this indikotor, with respect, I Irketska! I hope you can help me advance lagodaren! Attached Files

artemiy009

As far as I see, that indicator repaints badly

Will check more, but if it does repaint in runtime the same as in backtest, then better not to use it for any kind of signals (or alerts)

 

Уважаемый программист, вы не могли видеть и изменять свет, тот факт, что eogda тенденция к примеру вверх, она выдает предупреждение вниз, не могли бы вы сделать так, чтобы, когда появляется цвет меняется стрелка дает истинный сигнал тестирования и при наличии сплошной цвет, такие как красный тренд вниз idikator vydoval только один замечать sleduyushego изменение цвета, и сигналы повторяются каждый раз, даже при наличии сплошной цвет, я хотел бы dorobotat, так что как только сигнал был в цвете Сиена, а не повторяли через каждая свеча ... Спасибо! !!

Reason: