## Here's the 20/20 bar formula that I used

This is a discussion on Here's the 20/20 bar formula that I used within the Trading Software forums, part of the Commercial category; thanks for the reply - here are the details of what I was trying to use Ref(c&lt;o,-3) Ref(C&gt;L+(H-L)*0.8,-1) AND Ref(O&lt;H ...

 Feb 20, 2005, 8:39am #1 Joined Feb 2005 Here's the 20/20 bar formula that I used thanks for the reply - here are the details of what I was trying to use Ref(cL+(H-L)*0.8,-1) AND Ref(O1.0,-1) AND Ref(L,-1)>Ref(L,-2) AND Ref(H,-1)>Ref(H,-2) AND C>30.0 AND GapUp()>0.5 but no results. What I am wanting is 3 days ago is a black candle - Ref(cL+(H-L)*0.8,-1) AND Ref(O1.0,-1) AND Ref(L,-1)0.5 grateful for any help on this
Feb 8, 2008, 4:45pm   #2
Joined Feb 2008
Im looking to

There is a lot of the pristine method plays that go off of these 20/20 bars. I am working on it too. Have you found any way of programming it?

Quote:
 Originally Posted by botelho64 thanks for the reply - here are the details of what I was trying to use Ref(cL+(H-L)*0.8,-1) AND Ref(O1.0,-1) AND Ref(L,-1)>Ref(L,-2) AND Ref(H,-1)>Ref(H,-2) AND C>30.0 AND GapUp()>0.5 but no results. What I am wanting is 3 days ago is a black candle - Ref(cL+(H-L)*0.8,-1) AND Ref(O1.0,-1) AND Ref(L,-1)0.5 grateful for any help on this

Feb 8, 2008, 9:47pm   #3
Joined Feb 2008
20/20 Bar Formula In Metastock

This one works
bullish
C>O AND C-O>1.00 AND O-L<=.2*(H-L) AND H-C<=.2*(H-L) AND C>20
bearish
C<O AND O-C>1.00 AND C-L<=.2*(H-L) AND H-O<=.2*(H-L) AND C>20

Quote:
 Originally Posted by nguos1 There is a lot of the pristine method plays that go off of these 20/20 bars. I am working on it too. Have you found any way of programming it?

Feb 10, 2008, 9:31am   #4
Joined Oct 2007
Quote:
 Originally Posted by nguos1 There is a lot of the pristine method plays that go off of these 20/20 bars. I am working on it too. Have you found any way of programming it?
Hi nguos1,

Let me know if you still want the code for what botelho64 was proposing?

 Feb 24, 2008, 4:06pm #5 Joined Feb 2008 hi rnr, would like to take u on ur offer. can u give me a ms9 formula for ranking top 5 overbought and oversold scrips in my favourites folder? here's one that seems to be based only on rsi, and i'm not sure whether it will rank the scrips in overbought and oversold terms. Name: Wilson Relative Price Channel Formula: Periods:=Input("Channel Periods",1, 250, 34); Smoothing:=Input("Smoothing", 1, 55, 1); Value2:=Input("Over Bought", 50, 99, 70); Value3:=Input("Over Sold", 1, 50, 30); Value4:=Input("Upper Neutral Zone", 50, 99, 55); Value5:=Input("Lower Neutral Zone", 1, 50, 45); OB:=Mov(RSI(Periods)-Value2,Smoothing,E); OS:=Mov(RSI(Periods)-Value3,Smoothing,E); NZU:=Mov(RSI(Periods)-Value4,Smoothing,E); NZL:=Mov(RSI(Periods)-Value5,Smoothing,E); {OverSold} CLOSE-(CLOSE*(OS/100)); {OverBought} CLOSE-(CLOSE*(OB/100)); {NeutUp} CLOSE-(CLOSE*(NZU/100)); {NeutLower} CLOSE-(CLOSE*(NZL/100)); thanks a million regards