// Downloaded From https://www.WiseStockTrader.com
// hassan start green after 3 bars red
AddTextColumn( FullName(), "Name");
AddColumn( Close, "Close" );
AddColumn( Volume, "Volume" );

Buy = O >Ref( O, -1 ) AND C>Ref( C, -1)  AND Ref( C, -1 )>Ref( C, -2 ) AND   RSI( 8 )<50;

Filter = O >Ref( O, -1 ) AND C>Ref( C, -1)  AND Ref( C, -1 )>Ref( C, -2 ) AND   RSI( 8 )<50;