Forum

Help! Not sure how to save indicator values accross time.

Hello, I am writing an EA using Chaos theory, and I am trying to save the value of the fractal longer then just the bar it showed up in. For example, one bar will have the fractal value. In another 2-3 bars I may get the alligator cross over, and finally I am waiting for the price to cross over the

Error Array Out Of Range

Hello all, first off apologies for the basic question... I'm a newbie in coding. I am profoundly confused! Below I did the following: void start(){ double monthlyHi0= iHigh ( NULL , PERIOD_MN1 , 0 ); Print ( "Monthly High 0 is: " +monthlyHi0); double monthlyHi1= iHigh ( NULL , PERIOD_MN1 , 1 );