Forum

Code not working (struct member undefined)

Hi guys, i am facing error 'Struct member undefined' on the following line of code if(Pos.PriceCurrent>=(NormalizeDouble(i*Target_Increment+NormalizeDouble(First_Stop+Pos.PriceOpen,_Digits),_Digits))) I have included the following at the heading #include <Trade/Trade.mqh> #include

How to use ASI indicator MQL5 and how to fix 'struct member undefined'?

Good day, I want to create an EA which uses ASI to filter my trades but i haven't found EA using it. can anyone point where i can get this or better still, a piece of script defining indicator and use to determine trend? Secondly i am facing error 'Struct member undefined' on the following line of