Search results

  1. J

    Simple Coding Help - No Promise.

    Please ignore this request, I've figured it out. Thank you Happy Singh and Pratap, you guys were really helpful. :clapping:
  2. J

    Simple Coding Help - No Promise.

    I have buy, sell, short & cover values. I want to display it in the title along with green or red color, which would change based on the values being hit or not. Please help with coding this. I don't know if the code below is correct or not but it would give an idea of what am trying to achieve...
  3. J

    Simple Coding Help - No Promise.

    This is what I have coded, will the results be the same or should I change it to what you have coded? MO[0] = O[0]+C[0]/2; MC[0] = MO[0]+H[0]+L[0]+C[0]/4; for (i=1; i<BarCount; i++) { MC[i] = (MO[i-1]+H[i]+L[i]+Close[i])/4; MO[i] = (MC[i-1] + MO[i-1])/2; }
  4. J

    Simple Coding Help - No Promise.

    Please tell me if this is correct MO = (open+close)/2 MC = (MO+High+Low+Close)/4 MO = AMA (Ref(MC,-1),0.5)
  5. J

    Simple Coding Help - No Promise.

    Yes quite similar. Could you please share the afl.
  6. J

    Simple Coding Help - No Promise.

    Thanks for explaining, am still feeling stumped. Am new to coding, if its not too much of a hassle could you please write the code?
  7. J

    Simple Coding Help - No Promise.

    Please help with coding this Modified open = (previous modified open + previous modified close)/2 Modified close = (modified open + high + low + close)/4