 BuySellIndicators.mq4f.guig le 12112009, 12:23 am BuySellIndicators.mq4 Copyright 2005, Eli Hayun property copyright Copyright 2005, Eli Hayundouble dUpRviBuffer;double dDownRviBuffer;double dUpMacdBuffer;double dDownMacdBuffer;double dUpBothBuffer;double dDownBothBuffer;SetIndexBuffer0,dUpRviBuffer;SetIndexBuffer1,dDownRviBuffer;SetIndexBuffer2,dUpMacdBuffer;SetIndexBuffer3,dDownMacdBuffer;SetIndexBuffer4,dUpBothBuffer;SetIndexBuffer5,dDownBothBuffer;SetIndexArrow2,241;SetIndexArrow3,242;SetIndexArrow4,252;SetIndexArrow5,252;SetIndexLabel0,Rvi Buy;SetIndexLabel1,Rvi Sell;SetIndexLabel2,Macd Buy;SetIndexLabel3,Macd Sell;SetIndexLabel4,Strong Buy;SetIndexLabel5,Strong Sell;nBarsBars-nCountedBars-3;nBarsBars-nCountedBars-1;for int ii0; iidUpMacdBufferii0;dDownMacdBufferii 0;dUpRviBufferii0;dDownRviBufferii 0;dUpBothBufferii 0;dDownBothBufferii 0; Check if RVI has been changeddouble val0iRVINULL, 0, 10,MODE_MAIN,ii;double sig0iRVINULL, 0, 10,MODE_SIGNAL,ii;double val1iRVINULL, 0, 10,MODE_MAIN,ii1;double sig1iRVINULL, 0, 10,MODE_SIGNAL,ii1;if val0 sig0 val1 sig1dUpRviBufferii Lowii - 2 MarketInfoSymbol,MODE_POINT;if val0 sig0 val1 sig1dDownRviBufferii Highii 2 MarketInfoSymbol,MODE_POINT; Check if MACD has been changeddouble valm0iMACDNULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,ii;double sigm0iMACDNULL,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,ii;double valm1iMACDNULL,0,12,26,9,PRICE_CLOSE,MODE_MAIN,ii1;double sigm1iMACDNULL,0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,ii1;if valm0 sigm0 valm1 sigm1dUpMacdBufferii Lowii - 0.0004;if valm0 sigm0 valm1 sigm1dDownMacdBufferii Highii 2 MarketInfoSymbol,MODE_POINT;if dUpRviBufferii ! 0 dUpMacdBufferiidUpMacdBufferii 0;dUpRviBufferii 0;dUpBothBufferii Lowii - 2 MarketInfoSymbol,MODE_POINT;if Period 60 ii 0PrintBuy alert;if dDownRviBufferii ! 0 dDownMacdBufferiidDownBothBufferii Highii 2 MarketInfoSymbol,MODE_POINT;PrintSell alert; 