BB:=(V/FROMOPEN)*240>=1.8*REF(V,1); A04:=CROSS(C,PEAK(1,4,1)) AND PEAKBARS(1,4,1)>=5; A05:=CROSS(C,PEAK(1,5,1)) AND PEAKBARS(1,5,1)>=5; A06:=CROSS(C,PEAK(1,6,1)) AND PEAKBARS(1,6,1)>=5; A07:=CROSS(C,PEAK(1,7,1)) AND PEAKBARS(1,7,1)>=5; A08:=CROSS(C,PEAK(1,8,1)) AND PEAKBARS(1,8,1)>=5; A09:=CROSS(C,PEAK(1,9,1)) AND PEAKBARS(1,9,1)>=5; A10:=CROSS(C,PEAK(1,10,1)) AND PEAKBARS(1,10,1)>=5; A11:=CROSS(C,PEAK(1,11,1)) AND PEAKBARS(1,11,1)>=5; A12:=CROSS(C,PEAK(1,12,1)) AND PEAKBARS(1,12,1)>=5; A13:=CROSS(C,PEAK(1,13,1)) AND PEAKBARS(1,13,1)>=5; A14:=CROSS(C,PEAK(1,14,1)) AND PEAKBARS(1,14,1)>=5; A15:=CROSS(C,PEAK(1,15,1)) AND PEAKBARS(1,15,1)>=5; A16:=CROSS(C,PEAK(1,16,1)) AND PEAKBARS(1,16,1)>=5; A17:=CROSS(C,PEAK(1,17,1)) AND PEAKBARS(1,17,1)>=5; A18:=CROSS(C,PEAK(1,18,1)) AND PEAKBARS(1,18,1)>=5; A19:=CROSS(C,PEAK(1,19,1)) AND PEAKBARS(1,19,1)>=5; A20:=CROSS(C,PEAK(1,20,1)) AND PEAKBARS(1,20,1)>=5; BB AND (A04 OR A05 OR A06 OR A07 OR A08 OR A09 OR A10 OR A11 OR A12 OR A13 OR A14 OR A15 OR A16 OR A17 OR A18 |