Coding

 

Please code this for me in Metatrader4: R1,R2,R3 & PP, S1,S2,S3. permanent on cht. Arrow outputs prefared?


 // -- CALCULATION FOR PIVOTS ---
  
    PP[i] = (Highpoint[i]+Lowpoint[i]+Closepoint[i])/3;
    R1[i] = (2*PP[i]) - Lowpoint[i];
    S1[i] = (2*PP[i]) - Highpoint[i];
    R2[i] = PP[i] + (Highpoint[i] - Lowpoint[i]);
    S2[i] = PP[i] - (Highpoint[i] - Lowpoint[i]);
    R3[i] = Highpoint[i] + (2*(PP[i] - Lowpoint[i]));
    S3[i] = Lowpoint[i] - (2*(Highpoint[i] - PP[i]));
  

 
mqmerryment: Please code this for me
  1. There are many pivot indicators in the CodeBase.
  2. You have only four choices: We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using SRC) and the nature of your problem.
              No free help
              urgent help.
Reason: