Download MetaTrader 5

MQL4: tick count for each 10 last bars - how to do this using MQL syntax ? - page 2

To add comments, please log in or register
vinoth
4
vinoth  
WHRoeder:
Don't hijack other peoples threads.

thank u and sorry i m new to forum... i will correct it...
Mizan Sharif
36
Mizan Sharif  

Hallo Everybody,

I like to make a counter as, once RSI>70, counter = rx, and this value remain active (I will refer it in coding/use it in operation) till the situation RSI<30 (say this = ry). And vice versa. Can any body code for me please. Thanks.

Mizan Sharif

akose
66
akose  
WHRoeder:


hello

how i learn old tick price (i mean bid or ask value , not high,low or close) 

bar 0 (ticks counted: for example 5)    =>    1) 1.3400     2) 1.3402     3) 1.3401     4) 1.3404    5) 1.3408  
bar 1 (ticks counted: 58)
bar 2 (ticks counted: 28)

bar 3 (ticks counted: 37) 

may u help me ? 

Ian Venner
2584
Ian Venner  
If you want old tick prices you have to save them yourself as they arrive so you can access them later.
akose
66
akose  
SDC:
If you want old tick prices you have to save them yourself as they arrive so you can access them later.


like this  const long &volume[]  

i think, i need  const double &price[]   but i cant using that

Ian Venner
2584
Ian Venner  
You need to create your own array and add each price to it as it arrives.
12
To add comments, please log in or register