#property copyright "Kozak Andrey" #property indicator_separate_window #property indicator_color1 Red #property indicator_buffers 1 extern bool work = TRUE; extern bool signal = TRUE; extern int colbars = 100; double Masiv1[]; int init() { SetIndexBuffer (0, Masiv1); SetIndexStyle (0, DRAW_LINE); return; } int start() { double as; for (int i=0; iOpen[0]) { if (signal == TRUE) { Alert ("Можно продавать!"); } } if (Masiv1[0]