Indicators: LifeHack Ticks

 

LifeHack Ticks:

An indicator of ticks (Bid and Ask). Displays the last 300 ticks.

LifeHack Ticks

Author: Vladimir Karputov

 

Okay.

Wouldn't it be easier to use

https://www.mql5.com/en/docs/series/copyticks

?
Документация по MQL5: Доступ к таймсериям и индикаторам / CopyTicks
Документация по MQL5: Доступ к таймсериям и индикаторам / CopyTicks
  • www.mql5.com
[in]  Количество запрашиваемых тиков. Если параметры from и count не указаны, то в массив ticks_array[] будут записаны все доступные последние тики, но не более 2000. Первый вызов CopyTicks() инициирует синхронизацию базы тиков, хранящихся на жёстком диске по данному символу. Если тиков в локальной базе не хватает, то недостающие тики...
 
Renat Akhtyamov:

Okay.

Wouldn't it be easier to use

https://www.mql5.com/en/docs/series/copyticks

?

  1. At that time there were no CopyTicks yet.
  2. Try to request CopyTicks in different modes: OHLC and all ticks :)

 
Vladimir Karputov:

  1. At that time there were no CopyTicks yet.
  2. And try to request CopyTicks in different modes: OHLC and all ticks :)

1. Agreed.

2. I was satisfied with CopyTicks with the parameter "COPY_TICKS_INFO"

 
Automated-Trading:

LifeHack Ticks:

Author: Vladimir Karputov

how can i make it generate as far as 1000 ticks instead of only 300

 
Amos Tsopotsa # :

how can i make it generate as far as 1000 ticks instead of only 300

Take a look inside the code.