Attachments forums

List of attachments posted on this forum.


All files on forums: 135519

Re: Coding Help

Csj179t, Thu Aug 27, 2020 4:00 am

Hi mrtools and all them coders out here,

Im stuck with getting values in the EA from the indicator "waddah attar explosion averages nmc alerts 2_2.ex4" through iCustom() .
I did this before with others was not a big deal.
Here it just getting values on first bar and then just freezes... and values not changing while EA running...

I checked if i could iCustom() the same but renamed indicator in the main indicator, and comment its values... it worked...

Indicator and code is attached.Help me please!!!

Sincerely,
Sergei

Code: Select all

double one = iCustom(NULL,0,"waddah attar explosion averages nmc alerts 2_2.ex4",0,0);
double two = iCustom(NULL,0,"waddah attar explosion averages nmc alerts 2_2.ex4",1,0);

int OnInit()
  {
   return(INIT_SUCCEEDED);
  }

void OnDeinit(const int reason)
  {
  }

void OnTick()
  {
Comment(one, "  ", two);   
  }

All files in topic