Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 955

 
How do I get rid of GlobalVariableSetglobal variables rebooting when I compile or reload the terminal?
 
Artyom Trishkin:

This also does nothing, just like the Rec Label stands still. Please tell me exactly how this is implemented.

 
Igor Kryuchkov:

This also does nothing, just like the Rec Label stands still. Please tell me exactly how this is implemented.

What is a Rec Label ?

 
Artyom Trishkin:

What is a Rec Label ?

OBJ_RECTANGLE



And why is it not creating more than one RECTANGLE?


         C.CreateBitmap(0, 0, Count, Time[i+20], Close[i+1], 50, 70,COLOR_FORMAT_ARGB_NORMALIZE);
         C.Rectangle(10, 40, 70, 80, ColorToARGB(clrRed,200));
         C.Update(0); 
 
Igor Kryuchkov:

OBJ_RECTANGLE



And for some reason no more than one RECTANGLE is created


What is object C ?
 
Artyom Trishkin:
What is object C ?
#include <Canvas\Canvas.mqh>
CCanvas C;
 
How do I get rid ofGlobalVariableSetglobal variablesrebootingwhen I compile or reload the terminal?
 
Rustam Bikbulatov:
How do I get rid ofGlobalVariableSetglobal variables reloadingwhen I compile or reload the terminal?

What do you mean by restarts?

 
Igor Kryuchkov:

What's on the Count?

 
Artyom Trishkin:

What is written in Count?

In the loop, I run through the bars.


      Count++;
      
      if(rsi > 70 ) {
      
     
      
         C.CreateBitmap(0, 0, Count, Time[i+20], Close[i+1], 50, 70,COLOR_FORMAT_ARGB_NORMALIZE);
         C.Rectangle(10, 40, 70, 80, ColorToARGB(clrRed,200));
         C.Update(0); 
         
         
       
      
      
      }