Formula Inside Nr4

Da traderpedia.
Versione del 18 gen 2012 alle 14:52 di imported>Stefano Fanton
(diff) ← Versione meno recente | Versione attuale (diff) | Versione più recente → (diff)
Jump to navigation Jump to search

Formula per Tradestation™:

INIZIO FORMULA

Input: NR(4);
Condition1 = Range < Lowest(range, NR-1)[1];
Condition2 = High < High[1] and Low > Low[1];

if Condition1 and Condition2 then
     begin
     Plot1(Close, “Inside”);
     Alert;
     end
else
    NoPlot(1) ; { remove the marker }

FINE FORMULA


Formula per MetaStock™:


INIZIO FORMULA

Column A
Std(Log(C/Ref(C,-1)),5)/Std(Log(C/Ref(C,-1)),99)
Column B
HIGH-LOW<Ref(LLV(H-L,3),-1)
Column C
HIGH<(Ref(HIGH,-1)AND LOW>Ref(LOW,-1))
Column D
HIGH
Column E
LOW
Filter
colA<.5 AND (colB= 1 OR colC= 1)

FINE FORMULA

Vedi anche: