Untitled
unknown
plain_text
12 days ago
1.3 kB
5
Indexable
Never
//@version=5 indicator("EDW EI Alarm HB 010",overlay=true) parite_1_group = "Hisse" onay_1 = input(title="Çalıştır", defval=false, group=parite_1_group) false_ = (false) symbol_1 = input.symbol(title="Hisse", defval="", group=parite_1_group) // EMA ve DEMA uzunlukları emaLength = input.int(10, title="EMA Uzunluğu", group=parite_1_group) demaLength = input.int(100, title="DEMA Uzunluğu", group=parite_1_group) onay_1z = input(title="ÇalıştırStartStop", defval=false, group=parite_1_group) // 1. Sinyal seti için EMA-DEMA hesaplamaları emaValue_1 = ta.ema(request.security(symbol_1, "", close), emaLength) demaValue_1 = ta.ema(request.security(symbol_1, "", close), demaLength) * 2 - ta.ema(ta.ema(request.security(symbol_1, "", close), demaLength), demaLength) // EMA-DEMA kesişim sinyalleri sinyalup_1 = ta.crossover(emaValue_1, demaValue_1) sinyaldown_1 = ta.crossunder(emaValue_1, demaValue_1) // alert sinyal_1 = (sinyalup_1 or sinyaldown_1) and onay_1 mesaj_girdi_1 = input.string(title="START STOP", defval="START STOP", group=parite_1_group) if sinyal_1 alert(message=mesaj_girdi_1 + str.tostring(symbol_1), freq=alert.freq_once_per_bar) plotshape(sinyal_1, title="Sinyal 1", location=location.belowbar, color=color.green, style=shape.labelup, text="AL", textcolor=color.white)
Leave a Comment