if(((value1 >= value20 && value3 <= value21 && Close[0] > Close[1]) || (value6 < 7 && value1 > value20 && condition3_1 == false)) || sellOK_1 && buyOK && Close[0] > Close[1]) { BuyStop[0] = buyStop; value4 = 0; Signal[0] = 1; if(Signal[0] > Signal[1]){ barLastSignal = CurrentBar; if(useAlerts) Alert(CurrentBar.ToString(), Priority.High, "Long", "Alert2.wav", 1, Brushes.Blue, Brushes.Black); EnterLong(); } }
Thanks
Lucy
Comment