Блог им. autotrade

--[[
price copy
--]]
Settings=
{
Name = "Price_Copy", -- indicator name
YDelta=0.0, -- Y Delta
multiplicator=1.0, -- multiplicator
line=
{
{
Name = "Price_Copy",
Type =TYPE_LINE,
Width = 1,
Color = RGB(0,0,255)
}
}
}
function Init()
return 1
end
function OnCalculate(index)
if C(index) ~= nil then
v = C(index)*Settings.multiplicator + Settings.YDelta
else
v = nil
end
return v
end