Download MetaTrader 5

How to create a simple offline chart?

To add comments, please log in or register
cjtylor
71
cjtylor  

Hi Gents, i have a simple question if anyone would like to help me ;-)

I open a EURUSD 1M chart A -  and i want to copy everything from this chart A to a new offline chart B. 

the only change in Chart B is that - the price is rounded up or down.

Or example, if the price is 1.41234 in chart A   - Chart B shows 1.41230 and with every other things the same.

 

How can i create such an offline chart with a EA?

Can anyone help me ;-)

 Thanks a lot!

Ex Ovo Omnia
3422
Ex Ovo Omnia  
cjtylor:

Hi Gents, i have a simple question if anyone would like to help me ;-)

I open a EURUSD 1M chart A -  and i want to copy everything from this chart A to a new offline chart B. 

the only change in Chart B is that - the price is rounded up or down.

Or example, if the price is 1.41234 in chart A   - Chart B shows 1.41230 and with every other things the same.

 

How can i create such an offline chart with a EA?

Can anyone help me ;-)

 Thanks a lot!

Copy the entire hst file, round all its candles values and change "digits" value. You will get something similar like this:

 

cjtylor
71
cjtylor  
Ovo Cz:

Copy the entire hst file, round all its candles values and change "digits" value. You will get something similar like this:

 

Thanks!

Btw,


Is it possible to trigger the OnTick() or Start() function of a EA  - if I put this EA on an offline chart?

Seems it will not trigger.

Is there any workaround that can make it trigger OnTick()?

 

Thanks a lot!

 

Ex Ovo Omnia
3422
Ex Ovo Omnia  
cjtylor:

Thanks!

Btw,


Is it possible to trigger the OnTick() or Start() function of a EA  - if I put this EA on an offline chart?

Seems it will not trigger.

Is there any workaround that can make it trigger OnTick()?

 

Thanks a lot! 

 This particular implementation triggers, but I meant it only an example that offline chart could force display in 4-digits instead of 5. 

To add comments, please log in or register