SeaSide420

Mirocana.com V4.20

Mirocana.com strategy by pilotgsms - version 4.20 <<<< Edited by Seaside420 >>>> special thanks to 55cosmicpineapple
changes: strategy settings tweaked and Hull_MA_cross added to script
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
//                         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[1]))/security(tickerid, 'D', close[1])
prediction = confidence > dt ? true : confidence < -dt ? false : prediction[1]
n2ma=2*wma(close,round(keh/2))
nma=wma(close,keh)
diff=n2ma-nma,sqn=round(sqrt(keh))
n2ma1=2*wma(close[2],round(keh/2))
nma1=wma(close[2],keh)
diff1=n2ma1-nma1,sqn1=round(sqrt(keh))
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)
woofydatrader
9 months ago
surely this repaints?
Reply
SeaSide420 PRO woofydatrader
9 months ago
mash the F5 button... use on hourly...... this pic has correct instructions: https://gyazo.com/1e8464a09a2d895c37f7cf7cf894391b
Reply
dave.seremek PRO
9 months ago
Link not working. Could you please explain what the Mirocana strategy is?
Reply
karabogerald dave.seremek
9 months ago
Mirocana.com (this will explain Everything).
+1 Reply
dave.seremek PRO karabogerald
9 months ago
link is not working.
Reply
karabogerald dave.seremek
9 months ago
Its a Slight Better Version of ANN, if get ANN it does the Same thing. (https://www.tradingview.com/script/bPT7VWjA-ANN-Strategy/) but with Early Entrances.
Reply
SeaSide420 PRO karabogerald
9 months ago
ANN is a HULL_MA cross, this indicator looks at previous daily candle. like this: price(daily) -MINUS- price(daily(previous bar) /DIVIDED BY/ price(daily(previous bar) = amount. Then amount compared to the input(decision threshold)
Reply
SeaSide420 PRO SeaSide420
9 months ago
I made my own hullMA cross strategy, "MultiCross420" which uses Hull_MA cross but also MacD and TSI
developed by Allan Hull - The Hull Moving Average - smoothest of the MA's
+1 Reply
SeaSide420 PRO SeaSide420
9 months ago
also "Indicator420"
a Hull_MA cross indicator
Reply
SeaSide420 PRO karabogerald
9 months ago
oh yeah, i added Hull_MA cross to this, so it actually does have some parts similar to ANN in it i suppose
Reply
SeaSide420 PRO dave.seremek
9 months ago
what link?
Reply
SeaSide420 PRO SeaSide420
9 months ago
i do not own mirocana.com I kept the link in the code, as respect to the person who invented mirocana.com strategy (pilotgsms)
I just edited his strategy, and re-published it.
Reply
SeaSide420 PRO SeaSide420
9 months ago
there used to be a website there.... o_0
Reply
karabogerald
9 months ago
@SeaSide420 I tried it out today, It worked like a charm, got me in on 3 trades and lost me on Gold & Oil. (H1). /// But it repaints alot before i got in, I had to refresh my page 5 times, just to make sure, its the right call. {after much refresh, only 3 remained, and two repainted after i placed the trades}, i don't mind the repaints, just refresh & refresh, until it sticks. (Also don't Use it Alone, use it to confirm). like I did.

the indicator is a 7/10. not bad, i kinda like it, had to tweak it thou. (Time Frame == Brokers Time Frame on MT4).

thanks for the Effort.
Reply
SeaSide420 PRO karabogerald
9 months ago
try Indicator420 to help with confirmation. it is not a strategy, just simple indicator, so does not repaint
Reply
SeaSide420 PRO karabogerald
9 months ago
I didnt think it worked on GOLD....
you have imported this to MT4?
I am making it into a EA for MT4
Reply
karabogerald SeaSide420
9 months ago
@SeaSide420, nah i haven't imported it to MT4, but that would be Awesome if you could turn it into an EA, and share with Us, when we win, we will Share with you too. (the indicator is Good).
Reply
UrbiGT
9 months ago
confidence=(security(tickerid, 'D', close)-security(tickerid, 'D', close))/security(tickerid, 'D', close)
Sup! My name is repainnnnnnnnnnnnnnnnnt
Reply
SeaSide420 PRO UrbiGT
9 months ago
the is important (by the way)

hey,
why does everyone cry about the repaint?
if stop repaint, then it just does heaps of buy and sell in a bunch, as the Decision Threshold is crossed.
why not just use it in addition to your current strategy of trading, to help confirm or deny,
like, what about, when it says sell for example, let the price drop and not panic, then when some sort of retractment happens (use fib etc), then enter a sell,
and it wont be repainting as some bars will have passed, and the price will be permanently on one side of the threshold.
hopefully this answer all questions of repaint.
:-)
Reply
SeaSide420 PRO SeaSide420
9 months ago
oh the chat thingy takes it out, freaky
this, but without the stars ************
thats important part of code, read it above
Reply
SeaSide420 PRO SeaSide420
9 months ago
tha farK?
Reply
SeaSide420 PRO
6 months ago
SS420FX


basically the new version
Reply
Justin PRO SeaSide420
6 months ago
@seaslide420 how do we get alerts with this. I have tried to write one but am getting plotting errors on my last line.

dt = input(defval=0.0010, title="Decision Threshold", type=float, step=0.0001)
keh=input(title="Double HullMA Cross",type=integer,defval=3, minval=1)
confidence=(security(tickerid, 'D', close)-security(tickerid, 'D', close))/security(tickerid, 'D', close)
prediction = confidence > dt ? true : confidence < -dt ? false : prediction
n2ma=2*wma(close,round(keh/2))
nma=wma(close,keh)
diff=n2ma-nma,sqn=round(sqrt(keh))
n2ma1=2*wma(close,round(keh/2))
nma1=wma(close,keh)
diff1=n2ma1-nma1,sqn1=round(sqrt(keh))
n1=wma(diff,sqn)
n2=wma(diff1,sqn)

plot(prediction and n1>n2? 1 : 0, color=lime, linewidth=1)
Reply
Justin PRO Justin
6 months ago
Please ingore the last comment I found the newer version you released. Is there an alert for that one?
Reply
SeaSide420 PRO
4 months ago
HullMA cross Strategy
Reply
Bornleader
3 months ago
GOOD JOB ALL I CAN SAY IS THAT YOU HAVE TRIED YOUR BEST BETTER ....I RESPECT YOU HARDWORK & DEDICATION THAT YOU HAVE PUT IN MAKING THIS WONDERFUL INDICATOR WHICH IS NEAR TO PERFECTION ..SALUTE AND FOLLOWING ...REGARDS FROM INDIA ....MAY YOU ALWAYS BE BLESSED & MAY YOU ALWAYS PROSPER
Reply
TheFlash123
2 months ago
How can i use this in a live chart what do i need to do with the code? :/
Reply
JayJasonLau PRO
18 days ago
Hi, thanks for the effort. Just wondering why the long signal was on for a while and then it disappear after?
Reply
SeaSide420 PRO JayJasonLau
18 days ago
@JayJasonLau, hi, yes you are seeing repaint.
try this instead
HullMA cross Strategy

which still has repaint problem but less so, just refresh page, if signal remains after 1 or 2 bars, then all good.
HullMA-cross-Strategy EA for MT4 available:
Save your time by having a robot trade for you, http://ss420fx.blogspot.co.nz FREE 1 month demo to make sure it works with your broker and chosen pairs.
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out