Formula Inside Nr4
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