// Downloaded From https://www.WiseStockTrader.com _SECTION_BEGIN( " WAVES" ); // WAVES CA = ( CCI( 10 ) + CCI( 12 ) + CCI( 14 ) + CCI( 16 ) + CCI( 18 ) ) / 5; CB = ( CCI( 25 ) + CCI( 35 ) + CCI( 45 ) + CCI( 55 ) + CCI( 65 ) ) / 5; CC = CCI( 6 ) ; CD = CCI( 200 ); Plot( CD, "DOW WAVES Long-Term", 6, 4 ) ; Plot( CB, " Medium-term", 4 ) ; Plot( CB, "", 4, 2 + 4096 ) ; Plot( CA, " Short-term", 1, 4 ); Plot( CC, " Advance Warning", 7 ); // Plot range lines Plot( 0, "", 4 ); Plot( 100, "", 39, 4096 ); Plot( -100, "", 39, 4096 ); Plot( 200, "", 39, 4096 ); Plot( -200, "", 39, 4096 ) ; // Plot entry setuparrows CondA = CB > 0 AND ( CA < 0 OR Ref( CA, -1 ) < 0 ) AND CA > Ref( CA, -1 ) AND Ref( CA, -1 ) < Ref( CA, -2 ) ; PlotShapes( shapeSmallUpTriangle*CondA , 27, L, -150 ) ; CondB = CB < -0 AND ( CA > 0 OR Ref( CA, -1 ) > 0 ) AND CA < Ref( CA, -1 ) AND Ref( CA, -1 ) > Ref( CA, -2 ) ; PlotShapes( shapeSmallDownTriangle*CondB, 4, H, 150 ); _SECTION_END();