Mirocana.com V4.20

790 1 129
// Microcana.com strategy by pilotgsms - version 4.20 <<<< Edited by Seaside420 >>>> special thanks to 55cosmicpineapple
// Hull_MA_cross added to script
strategy("Mirocana.com V4.20", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100)
dt = input(defval=0.0010, title="Decision Threshold", type=float, step=0.0001)
keh=input(title="Double HullMA Cross",type=integer,defval=7, minval=1)
confidence=(security(tickerid, 'D', close)-security(tickerid, 'D', close))/security(tickerid, 'D', close)
prediction = confidence > dt ? true : confidence < -dt ? false : prediction
n1=wma(diff, sqn             )
n2=wma(diff1, sqn             )
if (prediction and n1>n2)
strategy.exit("Close", "Short")
strategy.entry("Long", strategy.long)
if (not prediction and n2>n1)
strategy.exit("Close", "Long")
strategy.entry("Short", strategy.short)
Remove from Favorite Scripts Add to Favorite Scripts
unfortunately this repaints the buy or sell signal on 20hrs after the event. SCAM
EN English (UK)
EN English
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
HE עברית
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out