pilotgsms

Mirocana Strategy

Check out this strategy.
for more information: mirocana.com
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
strategy("Mirocana.com", overlay=true, currency=currency.USD, initial_capital=10000)
dt = input(defval=0.0010, title="Decision Threshold", type=float, step=0.0001)

confidence=(security(tickerid, 'D', close)-security(tickerid, 'D', close[1]))/security(tickerid, 'D', close[1])
prediction = confidence > dt ? true : confidence < -dt ? false : prediction[1]

bgcolor(prediction ? green : red, transp=93)

if (prediction)
    strategy.exit("Close", "Short")
    strategy.entry("Long", strategy.long, qty=10000*confidence)

if (not prediction)
    strategy.exit("Close", "Long")
    strategy.entry("Short", strategy.short, qty=-10000*confidence)
    
    
    
metx2
10 months ago
98,8% profitable and no repaint?
wow.
Reply
Cirque PRO metx2
10 months ago
It does repaint. General rule you see this kind of profitability on a Tradingview strategy it's due to a repaint.
Reply
JayRogers
10 months ago
Gonna run this through some testing, thanks for sharing!
Reply
JRG
10 months ago
My chart looks nothing like that, yet the script is exactly the same...what gives?
Reply
JayRogers JRG
10 months ago
He actually left multiple scripts running on the chart when he published, which is why here you can see BB's and candle pattern indications. You should only see the entries and the background colouration as a result of adding this strategy script.
Reply
karabogerald
10 months ago
@pilotgsms Does it DO Alerts ?
Reply
karabogerald karabogerald
10 months ago
this is some impressive mathematics, right here. Dope, Stuff.
Reply
dave.seremek PRO
10 months ago
pilotgsms, could you please explain your MIROCANA strategy?
Reply
yingzhong.xu PRO
10 months ago
You are looking at today's close, which is future data.
+3 Reply
Entity PRO
10 months ago
This seems to good to be true but I have been following it for about a week now and although it seems to repaint on smaller time frames (still remaining profitable) on the 1hr TF it has been pretty accurate. It might come in a few candles later but that's fine. Still busy watching this system closely to understand it better and see if it can be used as confirmation on other systems.

Trying to create an alert for this system is a nightmare as that would be the best way to test and validate historical signals.
+1 Reply
peonminer Entity
6 months ago
ALERT SCRIPT

////////////////////////////////

//@version=2
study("Mirocana.com", overlay=false)
dt = input(defval=0.0010, title="Decision Threshold", type=float, step=0.0001)

confidence=(security(tickerid, 'D', close)-security(tickerid, 'D', close))/security(tickerid, 'D', close)
prediction = confidence > dt ? true : confidence < -dt ? false : prediction

bgcolor(prediction ? green : red, transp=93)

long = prediction

plot(long, "long", color=green, linewidth=3)

short = prediction != true

plot(short, "short", color=red, linewidth=3)

////////////////////////////////////

Cheers :)
Reply
Entity PRO peonminer
6 months ago
Thanks! That shows the same results as the background colour of the script. If you set an alert where buy signal > 1 then it will go off on every candle.

Here is a similar one but still doesn't work due to the repaint unfortunately :/

///////////////////////////////////////////////////////////////////////

study("Mirocana.com Alert")
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
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, style = histogram, title="BuyArrow", linewidth=10)

/////////////////////////////////////////////////////////////////////////////////////////////

still a good indicator to use imho
Reply
wegg1
9 months ago
looks good
Reply
tickwatch
9 months ago
Tradingview should do an analysis on the source code to determine if a script will repaint & then warn unsuspecting users of the issues with repainting. Otherwise someone might go out and mortgage their house and lose everything thinking they're going to be 98.78% (or 100%) profitable. :)
+4 Reply
tickwatch tickwatch
9 months ago
I mean on all strategies. Maybe an option "disable_repaint_warning=true" or "enable_unrealistic_outcomes=true" with a popup to warn users the the script is using values that will probably render the strategy performance report as (very) unreliable.
+3 Reply
sano84
6 months ago
It's fake... Signals are put at the past candles when the actual price turned around and walked a few candles)... Really is a good picture, which is based on history, but it is not a strategy.
I think that the principles of such strategies should be disclosed in the description, or people should be warned that the signals are put on a few candles ago.
+4 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