CryptoRox

[AutoView] MovingAvg Cross - Video Attached

CryptoRox Güncellendi   
344
There is nothing special or spectacular about this script. It's your standard Moving Average Cross Strategy. It is actually a built in script everyone has access to already. I only changed some of the settings and flipped the orders.

The reason I actually published this, is because people have been asking me what the best way to find the best settings for a strategy. So I made a YouTube video showing people how I personally do it. I took this built in strategy and within 5 minutes took it from a net profit loss and profit factor of 0.5 to a net profit win with a profit factor of 3-5.

Of course this is only on the 1 minute candles, so forward testing the strategy is a must as I do not recommend straight up taking this and trading it.

You can watch the video here:
www.youtube.com/watch?v=9U3FpTHb...

Hope this helps everyone speed up their back testing and fine tuning their strategies.
Yorum:
All orders are now being tracked in a Google Sheet for public viewing.

Since: 04/01/2016 02:07:00
Net Profit = -$103.00 in OIL value

Link for tracked statistics here:
bit.ly/1ZixaXw

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?
//@version=2
strategy("MovingAvg Cross", overlay=true)
length = input(310)
confirmBars = input(50)
price = close

ma = sma(price, length)

bcond = price > ma
bcount = bcond ? nz(bcount[1]) + 1 : 0

if (bcount == confirmBars)
    strategy.entry("MACrossLE", strategy.short, comment="MACrossLE")

scond = price < ma
scount = scond ? nz(scount[1]) + 1 : 0

if (scount == confirmBars)
    strategy.entry("MACrossSE", strategy.long, comment="MACrossSE")

//plot(strategy.equity, title="equity", color=red, linewidth=2, style=areabr)