No you did not learn anything. In case you wished to learn something and did you shouldn't unsubscribe.Originally Posted by ;
![]() |
![]() |
No you did not learn anything. In case you wished to learn something and did you shouldn't unsubscribe.Originally Posted by ;
Thanks. Tomorrow I will instruct about incorporating a moving average into almost any oscillator indior.Originally Posted by ;
Hi ,
Hats off for the effort to instruct MQL to beginners, awesome work. I just wanted to provide some feedback, and this is a little more pedantic but I think as one learns to indie which there should be some schooling of best practices. For example the usage of the keywords input and extern. There's rarely a case that user-defined constants need to be altered from the appliion, and it is best practice to use the key word 'input' instead of 'extern' in order to prevent an modifiion. In the special and rare case where alteration of the user defined variable is necessary, extern should be used in fact.
Hi Nicholishen,Originally Posted by ;
Thanks for the comments. I agree it is important to be aware of the distinction between enter and extern because the whole thing could be affected by it.
For example if the extern variable got changed during the appliion flly and suddenly the program obtained restarted, the changed variable is going to be gone. It requires some logic in order to keep the changes variable, one is by simply utilizing global variable. Also when extern variable got changed, the changes won't be reflected to the indior input or EA properties.
For most cases, it is best practice to utilize input signal than extern in order to prevent any compliion. I think I will make a separate video about these factors input and extern.
I set that for instance.Originally Posted by ;
You see there are 3 things.
Rectangle (your fibonacci SR)
and your price tags.
From that code, all you have to do is simply change the title of this object and the X axis (Date time) and Y axis (price) value. Go read the documentation that is MQL4.
Okay thank you a lot. . .again subscribed. . I read that documentation but didnt understand anythiing
Inserted Code //Rectangle ObjectCreate(0,FIB_SUP1, OBJ_RECTANGLE, 0, iTime(NULL, PERIOD_D1, 0), Close #91;5 #93;, Time#91;0#93;, Close#91;0#93;-RRB-; ObjectSetInteger (0,FIB_SUP1, OBJPROP_BACK,1 ); ObjectSetInteger (0,FIB_SUP1, OBJPROP_COLOR, C'0,52,62'); ObjectSetInteger(0,FIB_SUP1, OBJPROP_STYLE, 2); //Price Label 1 ObjectCreate(LABEL1,OBJ_ARROW,0,TimeNumber91;0#93; ,Close #91;0#93;-RRB-; ObjectSet(LABEL1,OBJPROP_ARROWCODE,SYMBOL_RIGHTPRI CE); ObjectSet(LABEL1,OBJPROP_COLOR,C'0,52,62'); //Price Label2 ObjectCreate(LABEL2,OBJ_ARROW,0,Time#91;0#93;,Clos e#91;5 #93;-RRB-; ObjectSet(LABEL2,OBJPROP_ARROWCODE,SYMBOL_RIGHTPRI CE); ObjectSet(LABEL2,OBJPROP_COLOR,C'0,52,62');Originally Posted by ;
ObjectCreate(LABEL1,OBJ_ARROW,0,Time[0],Close[0]);
Timing[0] is the X axis (Timing)
Close[0] is the Y axis (Price)
ObjectCreate(LABEL2,OBJ_ARROW,0,Time[0],Close[5]);
Timing[0] is the X axis (Timing)
Close[5] is the Y axis (Price)
Okk understood... yet another doubt. .
#define FIB_SUP1 FIB_SUP_1
#define FIB_SUP2 FIB_SUP_2
#define FIB_SUP3 FIB_SUP_3
#define FIB_RES1 FIB_RES_1
#define FIB_RES2 FIB_RES_2
#define FIB_RES3 FIB_RES_3
what is the diff of this define and double
double B, A , D, E, A1, B1, D1, E1 , A2, B2, D2, E2 ;
why should define...
instead of this DEFINE cant do with double FIB_SUP1,FIB_SUP2 ,FIB_SUP3.... LIKE ? What's going to happen
Hey Yousername,
Thanks for the Movies !!
Looking forward to MQL PROGRAMMING 7 videos and so on!!!