Download MetaTrader 5

HODRICK PRESCOTT ERROR

To add comments, please log in or register
Download MetaTrader 5 for iPad and trade anywhere!
smosquito
14
smosquito 2013.04.22 20:55 

Hello i put on my ea using of hodrick prescot filter yu can download in mql5 comunity, i have a trouble after simulation, first is that after call of iCustom indicator it is not plotted on chart

After then i put manually dragging  to chart hodrick prescot filter and i can see on left his value.

On my trading system i put a function Print which write in diary value of hodrick prescott filter when doing buy or sell order.

My trouble is that on box on left of terminal i see one value, but on diary, at same hour, i see another value , not much different but different

For example: 1.23569 and 1.23668

 Coparing graphed value to other value, the value on terminal on left box is correct. 

Can anyone help me in programming to get right value in hpf[0] value array?

 

thanks 

Documentation on MQL5: Technical Indicators / iCustom
Documentation on MQL5: Technical Indicators / iCustom
  • www.mql5.com
Technical Indicators / iCustom - Documentation on MQL5
Alain Verleyen
Moderator
30755
Alain Verleyen 2013.04.22 21:12  
smosquito:

Hello i put on my ea using of hodrick prescot filter yu can download in mql5 comunity, i have a trouble after simulation, first is that after call of iCustom indicator it is not plotted on chart

After then i put manually dragging  to chart hodrick prescot filter and i can see on left his value.

On my trading system i put a function Print which write in diary value of hodrick prescott filter when doing buy or sell order.

My trouble is that on box on left of terminal i see one value, but on diary, at same hour, i see another value , not much different but different

For example: 1.23569 and 1.23668

 Coparing graphed value to other value, the value on terminal on left box is correct. 

Can anyone help me in programming to get right value in hpf[0] value array?

 

thanks 

You have to show some code if you want help with your code.
To add comments, please log in or register