Ух ты, как это я прозевал
Этож ночник по 15 сигналу:
int OpenOrdersBasedOnWPR() {
int li_ret_0 = 3;
double ld_unused_4 = iWPR(NULL, g_timeframe_224, g_period_320, gi_324);
double ld_unused_12 = iWPR(NULL, g_timeframe_224, g_period_320, gi_328);
if (Hour() == Hour_1 || Hour() == Hour_2 || Hour() == Hour_3 || Hour() == Hour_4 && Minute() <= Minutes && iSAR(NULL, g_timeframe_224, 0.02, 0.2, 0) < Low[5] && iMA(NULL, g_timeframe_224, 13, 0, MODE_EMA, PRICE_CLOSE, 0) > iMA(NULL, g_timeframe_224, 144, 0, MODE_EMA, PRICE_CLOSE, 0) &&
iMA(NULL, g_timeframe_224, 1, 0, MODE_LWMA, PRICE_CLOSE, 0) - 20.0 * Point < High[60]) li_ret_0 = 2;
if (Hour() == Hour_1 || Hour() == Hour_2 || Hour() == Hour_3 || Hour() == Hour_4 && Minute() <= Minutes && iSAR(NULL, g_timeframe_224, 0.02, 0.2, 0) > High[5] && iMA(NULL, g_timeframe_224, 13, 0, MODE_EMA, PRICE_CLOSE, 0) < iMA(NULL, g_timeframe_224, 144, 0, MODE_EMA, PRICE_CLOSE, 0) &&
iMA(NULL, g_timeframe_224, 1, 0, MODE_LWMA, PRICE_CLOSE, 0) + 20.0 * Point > Low[60]) li_ret_0 = 1;
return (li_ret_0);
}