Forum

Guppy MA

Hi All, When trying to code Guppy I'm getting un-expected trades, any ideas why does those trades happen? The first sell order is correct, but second sell order is unexpected. Open order code is below: ENUM_ORDER_TYPE signal=WRONG_VALUE;

iMAOnArray

Could you suggest function or technique similar to iMAOnArray in MQL5? double iMAOnArray ( double array[] , // array with data int total , // number of elements int ma_period , // MA averaging period int ma_shift

MQL5 RSI crossing threshold

Hi There, Anyone could advise how to check RSI crossing overbought / oversold levels? bool Buy_Condition_1=(RSI_val[0]<RSI_oversold && RSI_val[1]>=RSI_oversold); Stuck while inserting correct values to RSI_val[]