// Downloaded From https://www.WiseStockTrader.com // GAP with his sector, his industry, the diference in $ and percent. // gap up =>green and gapdown =>red // bob303 // only EXPLORATION. _SECTION_BEGIN("GapExplo"); gapTF = textt = 0 ; Filter = ( GapDown() OR GapUp() ) AND LLV(Volume,21) > 50000 ; Color = IIf(Ref(Low,-1) > High,colorRed,colorGreen); gapTF = IIf(Ref(Low,-1) > High,Ref(Low,-1) - High ,Ref(High,-1) - Low); gapTFcent = IIf(Ref(Low,-1) > High, (gapTF/Ref(Close,-1))*100,(gapTF/Ref(Close,-1))*100); //if (Ref(Low,-1) > High,Ref(Low,-1) - High AddTextColumn ( FullName(), "fullname",70, colorDefault,colorDefault, 150); AddTextColumn( IndustryID(1), "industry",70,colorDefault,colorDefault, 150); AddTextColumn( SectorID(1), "sector",70,colorDefault,colorDefault, 150); AddTextColumn ( WriteIf(gapTF>0,"","") , "GAP", 70, colorDefault,color, 70); AddColumn (gapTF, "diff",1.2,Color, colorDefault,-1,gapTF); AddColumn (gapTFcent, "diff%",1.2,Color, colorDefault,-1,gapTFcent); _SECTION_END(); // //