Discussion of article "20 Trade Signals in MQL5" - page 5

 
Thank you! The article is super
Only, there is no Stochastic Osticllator button in the settings. I think there are just two buttons in the same place.
ObjectSetInteger(0, "PIPIndNameButtonSO",OBJPROP_YDISTANCE,100);
ObjectSetInteger(0, "PIPIndNameButtonRSI",OBJPROP_YDISTANCE,110);
 

Hello and thank you so much,

I was looking for such advisor for so long, my question is that how can I change the font size? sometimes it is too big

Documentation on MQL5: Standard Constants, Enumerations and Structures / Objects Constants / Object Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Objects Constants / Object Properties - Documentation on MQL5
Files:
EA.JPG  194 kb
 
ravaji:

Hello and thank you so much,

I was looking for such advisor for so long, my question is that how can I change the font size? sometimes it is too big

Not clear why the bars are not equivalent.

I understand, these shoud be like this ...

Is this an error ? 

//--- check the condition and set a value for the sig
   if(ma1_buffer[2]<ma2_buffer[1] && ma1_buffer[2]>ma2_buffer[1])
      sig=1;
   else if(ma1_buffer[2]>ma2_buffer[1] && ma1_buffer[2]<ma2_buffer[1])
      sig=-1;
   else sig=0;

//--- return the trade signal
   return(sig);
 

Greetings. You write: "As I wrote earlier, indicators are loaded into the terminal once and pointers (handles) to these indicators are created, so we will write their creationin the OnInit()function, since this function is launched once when the programme is started".

Question. The attached file "signaltrade.mqh" also works with indicator handles. Why should we create them in OnInit()?

 
Ovsov_Nikita:
Thank you! The article is super
Only, there is no Stochastic Osticllator button in the settings. I think there are just two buttons in the same place.
ObjectSetInteger(0, "PIPIndNameButtonSO",OBJPROP_YDISTANCE,100);
ObjectSetInteger(0, "PIPIndNameButtonRSI",OBJPROP_YDISTANCE,110);
Exactly, thanks!
 
MetaQuotes:

New article 20 Trade Signals in MQL5 is published:

Author: Сергей

Very Brilliant ,could you also please code an independent module of signals of crossover between fast MA anf slow MA
 
Thank you very much, Sir. I really appreciate it.
 
compiled but not displaying on chart.....
 

Well... Can you please share the file? (I don't know how to do it. I'm new to this.)