Skip to content

Instantly share code, notes, and snippets.

View elja's full-sized avatar

Alex Eliseev elja

View GitHub Profile
//@version=5
// Copyright all rights reserved to DaviddTech
indicator('DEMA + Vumanuchi Swing (Alert)', overlay=true)
// Timeframe 5m, BTCUSDT
// ****************************************************************************//
// ---------------------------------> Edit here ------------------------------ //
// ****************************************************************************//
st_isPlot = input.bool(true, 'Plot strategy indicators(except oscillators)', group='Strategy: base')
def initialize(state):
pass
@schedule(interval="6h", symbol="BTCUSDT")
def handler(state, data):
'''
1) Compute indicators from data and add parameters into strategy
'''