Announcement

Collapse
No announcement yet.

Have you evern seen an indicator like this one?

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

  • Have you evern seen an indicator like this one?

    Ran across this indicator on some random website: http://trader.online.pl/MSZ/e-w-Movi...ist_Suppt.html

    I've also seen an indicator similar to this one in Kwikpop. Does anyone know of a way to create something similar with efs?
    Here is the code that the creator used to build it in metastock:

    Resistance and Support

    LookBack := Input("Look Back Periods",1,1000,10);
    Resistance :=ValueWhen(1,Cross(Mov(C, LookBack,S),C),HHV(H, LookBack));
    Support :=ValueWhen(1,Cross(C,Mov(C, LookBack,S)),LLV(L, LookBack));
    Resistance;
    Support;





    _




    Resistance and Support * F

    PrCnt:=Input("Percentage",0,100,10);
    LookBack:= Input("Look Back Periods",1,1000,10);
    Resistance:=ValueWhen(1,Cross(Mov(C,LookBack,S),C) ,HHV(H,LookBack));
    Support:=ValueWhen(1,Cross(C,Mov(C,LookBack,S)),LL V(L,LookBack));
    Resistance * ((100-prcnt)/100);
    Support * ((prcnt/100)+1);
    Attached Files
Working...
X