fe.settings:getUserBoardSettings - non array given[dnm] - Endchan Magrathea
# 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