Please correct and compile this simple custom indicator program - S100 AUD payment - page 2

 
RaptorUK:

It's OK, I'm not really after your money . . . your code will probably not do what you wanted . . .

. . . GumRai is quite correct.

Take this opportunity to read the advice given and do some learning, none of us is ever too old or too experienced to learn.


Yes, the logic that I wrote (syntactically incorrect) does not do what I wanted after you fixed the code to compile error free.

I guess that this is caused by my global type fault as you and GumRai say ...

Back to some more reading (especially on global variables).

I take your comment that I need to do more reading to heart - I knew this but wanted to get the program running correctly a.s.a.p.

I appreciate your help thus far - I have my code far along from where it was in any case.

Many thanks for that

 
timhine45:


I appreciate your help thus far - I have my code far along from where it was in any case.

Many thanks for that

You are welcome
Reason: