26.06.2024, 14:35
value = event.getvalue()
if value then
currentprice = grp.getvalue('35/5/17')
price = grp.getvalue('35/5/18')
If currentprice > price then
grp.write('35/5/20', 1)
else
grp.write('35/5/20', 0)
end
end
if value then
currentprice = grp.getvalue('35/5/17')
price = grp.getvalue('35/5/18')
If currentprice > price then
grp.write('35/5/20', 1)
else
grp.write('35/5/20', 0)
end
end