Anyone know what this is?
Anonymous
02/11/2022 (Fri) 04:55:01
No.271
del
# handle new data with experimental indicator
def handle_new_bar(data, emit, atoms):
#!BLOCKS
if data.Custom(indicator_id="61eb1776ffff157870423b97") > data.bar.close:
emit.Buy(type="max", reason="Indicator Exp > close")
if data.Custom(indicator_id="61eb1776ffff157870423b97") < data.bar.close:
emit.Sell(type="max", reason="Indicator Exp < close")
#!ENDBLOCKS