Код: Выделить всё
function Initialize()
{
IndicatorName = "BA_Chart";
PriceStudy = true;
AddInput("Input", Inputs.Candle);
AddSeries("ask", DrawAs.Custom , Color.Red);
AddParameter("vol", 10000, 3);
}
function Evaluate()
{
ask= (Input.High+Input.Low)/2;
if(Input.Volume>=vol){
ask.DrawCircle();
}
}