- Don't double post
double vwp_up=iCustom(_Symbol,0,"VWP - Price",1,0); double vwp_down=iCustom(_Symbol,0,"VWP - Price",0,0);
Your image shows it doesn't generate bar zero values.
- Busted, I admit! (sorry)
- Ok, I get it! I thought it was only for displaying in chart separate window and not also for calculation! It should be alright then! :) Thanks WHRoeder

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I am trying to convert a my custom indicator, perfectly working, into an EA. I have set the iCustom function as follows:
Commenting the those variables, to see their value, I get only random allocation numbers: 2147483647. Furthermore those values are constants and do not change over time (while back testing).
So it is impossible to trade! If I stop the backtesting, strange thing, in the indicator window I get and see "vwp_up" and "vwp_down" values and lines. Here is a pic:
How could I handle this?
Thanks!