Announcement

Collapse
No announcement yet.

New EFS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • New EFS

    Hi
    I see you as a Veteran eSignal expert. I do have a TOS script which I would like to convert to EFS.

    Would you be able to help me code it.

    The code is below.

    Legend:
    stdev is Standard Deviation

    ------------------------------
    declare lower;
    input length = 40;
    def closeLog = log(close[1] / close[2]);
    def SDev = stdev(closeLog, length) * Sqrt(length / (length – 1));
    def m = SDev * close[1];
    plot spike = (close[0] – close[1]) / m;
    spike.SetPaintingStrategy(PaintingStrategy.HISTOGR AM);
    spike.AssignValueColor(if close > close[1] then Color.UPTICK else if close < close[1] then Color.DOWNTICK else GetColor(1));
    --------------------------------------

    Appreciate your help.

    Thanks
    Best Regards
    Agni

  • #2
    Re: New EFS

    Wrong Forum Entry

    Comment

    Working...
    X