[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 220

 
charter:


Seems unlikely. What could be the point of this secret.

To test in "All ticks (most accurate method...)" mode and trust/not trust the results obtained,

it is necessary to understand what is happening inside M1 at the moment of testing and what we get in the end result.

http://forextools.com.ua/trading/ticks/tester.html
 
Vinin:

Continuation of the theme

Previous here https://www.mql5.com/ru/forum/111497

Hello, I am a newbie here. Really need to insert code to hide the real TR and SL. So that the DC "sees" the non-existent TR and SL. How do I paste it? I've seen such code in FAPTurbo robot, but I can't look it up because it's .ex4. Anyway, don't know who to ask for help... Thanks in advance.
 


Thank you. (chuckles) It was a very interesting read.

True, more questions have arisen. I'll look into it.

Thanks again.

 
todem:
Who can help, why it doesn't assign values to TicketBS[] and TicketSS[] array ??? writes always 0...
And where does it increase the size of the array? Where do I write the value? ( ArrayResize() function)
 
artmedia70:
Where do you increase the size of the array? Where do I write the value? ( ArrayResize())

Thanks, I didn't know that, but I'm still getting zeros
 

Experimenting and laughing my ass off...

Draws my tick chart backwards.

This is the shit I "invented".

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

#property indicator_separate_window    
#property indicator_buffers 1        
#property indicator_color1 Aqua      

  int GlobalTicks = 0;
  int Max = 1000;
  double TickPrice[];
//--------------------------------------------------------------------
int init()                          
  {
   SetIndexBuffer(0,TickPrice);          
   SetIndexStyle (0,DRAW_LINE,STYLE_SOLID,2); 
   return;                          
  }
//--------------------------------------------------------------------
int start()                         
  {
      ArraySize(TickPrice);
      if(GlobalTicks >= Max){
         for(int i=0; i<Max-1; i++) TickPrice[i] = TickPrice[i+1];
         TickPrice[i] = Bid;
         return;
       }
       
       TickPrice[GlobalTicks] = Bid;
       GlobalTicks++;  


   return;                         
  }
//--------------------------------------------------------------------

 

Why is it drawing from right to left?

 
charter:

Experimenting and laughing my ass off...

Draws my tick chart backwards.

This is the shit I "invented".

Why is it drawing from right to left?


Change the direction of indexing in the array: ArraySetAsSeries(TickPrice,false).
 
kiimar:

Reverse the direction of indexing in the array: ArraySetAsSeries(TickPrice,false).

I'm afraid this is only true for the time-series.

In my case, there's nowhere even to poke it.

Your idea is correct, i.e. we need to reverse the order somehow, but I don't know how yet

 
charter:

I'm afraid this is only true for the time-series.

In my case, there's nowhere even to poke it.

Your idea is correct, i.e. the order has to be reversed somehow, but I don't know how yet

Look in codebase or articles for tick indicator rosha
 

Sorry to barge in on the conversation. It's a beginner's question. I'm trying to understand the basics. Trailing Stop is an EA. Why do I think so?

1 It needs constant connection to the server to work properly.

2 It monitors the price and decides to close the order.

I simply do not have a teacher nearby. Correct me if I am wrong.