1. Welcome to the #1 Gambling Community with the best minds across the entire gambling spectrum. REGISTER NOW!
  2. Have a gambling question?

    Post it here and our gambling experts will answer it!
    Dismiss Notice

Forex EA with Custom Indicator: no values

Discussion in 'Forex Forum' started by leourb, Sep 12, 2015.

  1. leourb

    leourb Guest

    Hi guys!
    I am facing a strange thing (or better I cannot handle this!).
    I am trying to convert a my custom indicator, perfectly working, into an EA. I have set the iCustom function as follows:
    double vwp_up=iCustom(_Symbol,0,"VWP - Price",1,0);
    double vwp_down=iCustom(_Symbol,0,"VWP - Price",0,0);
    Commenting 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 can I handle this?
    Thanks!

    Attached Thumbnails
    Attached Image (click to enlarge)
    attachment.jpg

    Source.
     

Share This Page