Edward Iii Foster / Publications
Forum
EA RSI Buy and Sell code help
I am writing my own EA to do a buy or sell order but it is only placing sell orders and no buy with no errors here codebelow void OnTick() { // create a string variable for the signal string signal=""; // calculate the RSI value double RSIValue = iRSI(_Symbol,_Period,10,PRICE_CLOSE,0);