Indicators: HarmonikManual new version - page 3

 
andrey.s:
Thanks for your answer. The indicator works fine in build 950 but the following buttons do not work.I tried to recompile it.but MetaEditor shows errors. After returning to build  950 it works fine again.I did not change the position of the CSV or something else it refuses to work after upgrading the terminal.

The only difference between MT4 build 950 and the next version is "don't click at the text, but click at the background".


 
David Gadelha:

Congratulations for this impressive and very nice job.

Is there a port to MT5?

 

Thanks. 

Thank you for your compliment and interested in this indicator, but sorry, in the near future, I have not planned to learn MT5 coding. There is a difference between the command code MT4 and MT5.
 
MasKabul:

The only difference between MT4 build 950 and the next version is "don't click at the text, but click at the background".


Thank you MasKabul
 

Thanks man for this great job.

I've updated your code to fix the issue with the buttons,

you'll just need to update the function setPanel as follow :

//----------- 

 void SetPanel(string name,int sub_window,int x,int y,int width,int height,color bg_color,color border_clr,int border_width)

  {

   if(ObjectCreate(0,name,OBJ_BUTTON,sub_window,0,0))

     {

      SetText(name,name,x,y,bg_color,12,"Arial");

      ObjectSetInteger(0,name,OBJPROP_XDISTANCE,x);

      ....

     }

   ObjectSetInteger(0,name,OBJPROP_BGCOLOR,bg_color);

  }

//----------- 

This will put you buttons instead of rectangles

you'll have to comment the lines where you put the text like SetText("Tulis1","NEXT",890,55,clrBlack,12,"Georgia");    

Thanks for the indicator 

 
Mohamed FAIDA:

Thanks man for this great job.

I've updated your code to fix the issue with the buttons,

you'll just need to update the function setPanel as follow :

//----------- 

 void SetPanel(string name,int sub_window,int x,int y,int width,int height,color bg_color,color border_clr,int border_width)

  {

   if(ObjectCreate(0,name,OBJ_BUTTON,sub_window,0,0))

     {

      SetText(name,name,x,y,bg_color,12,"Arial");

      ObjectSetInteger(0,name,OBJPROP_XDISTANCE,x);

      ....

     }

   ObjectSetInteger(0,name,OBJPROP_BGCOLOR,bg_color);

  }

//----------- 

This will put you buttons instead of rectangles

you'll have to comment the lines where you put the text like SetText("Tulis1","NEXT",890,55,clrBlack,12,"Georgia");    

Thanks for the indicator 

Yes..,you right. And the easy way to fix the button problem is adding the sparam name for the text on function "OnChartEven",  as the example is shown on the text below. 

 

Thank you for your interesting on this indicator. 

NB: Answering your question on my email:

Sorry..,there is no option to working on the test mode,  because this indicator made for manually placing the XABCD. If you need indicator that working on the test mode, there are many automatic harmonic pattern indicator like ZUP, Kor.., etc

 
On screen button not work and objects are not deleted when I remove indicator from the chart.