Forum

Only once per bar unwanted delay

Hi, could you please help me with my notification EA? After action on B1 (call it for example actionBar), should send me an email about it on the current bar B0, but it send it with one bar delay. This is how it shloud do: if(B1 == actionBar){SendMail();} => actionBar is actualy B1 and send it on B0

Identifying the value of the decimal number

Hi, can you please advise me how to program EA to identify the value of just specified decimal? For example Identify 1.43200 as x.xxx00 (something like "LastTwoAreZeros == true"). The only thing I came with is list all the values I want (for example "if Price = 1.43200 || 1.43300 || 1.43100" etc.)