TradingView
GrantPeace
1 Th08 2017 19:40

Probability Genius 

USD/JPYOANDA

Mô tả

This indicator is simple, clever, and effective. Just simple simple maths and probability.
Only long indications are produced.

//@version=3
strategy("Probability Genius", overlay=true)
// Strategy by GrantPeace
// tradingview.com/u/GrantPeace/
Prob1 = (((close<close) and (close<close)) and ((close<close) and (close<close)))and close<close
Prob2 = Prob1 and (close<close)
Prob3 = Prob2 and (close<close)
Prob4 = Prob3 and (close<close)
Prob5 = Prob4 and (close<close)
Prob6 = Prob5 and (close<close)
Prob7 = Prob6 and (close<close)
Prob8 = Prob7 and (close<close)
Prob9 = Prob8 and (close<close)
Prob10= Prob9 and (close<close)

if Prob1
strategy.entry("Prob1", strategy.long, 1)
if close
strategy.close("Prob1")
if Prob2
strategy.entry("Prob2", strategy.long, 10)
if close
strategy.close("Prob2")
if Prob3
strategy.entry("Prob3", strategy.long, 100)
if close
strategy.close("Prob3")
if Prob4
strategy.entry("Prob4", strategy.long, 1000)
if close
strategy.close("Prob4")
if Prob5
strategy.entry("Prob5", strategy.long, 10000)
if close
strategy.close("Prob5")
if Prob6
strategy.entry("Prob6", strategy.long, 100000)
if close
strategy.close("Prob6")
if Prob7
strategy.entry("Prob7", strategy.long, 1000000)
if close
strategy.close("Prob7")
if Prob8
strategy.entry("Prob8", strategy.long, 10000000)
if close
strategy.close("Prob8")
if Prob9
strategy.entry("Prob9", strategy.long, 100000000)
if close
strategy.close("Prob9")
if Prob10
strategy.entry("Prob10", strategy.long, 1000000000)
if close
strategy.close("Prob10")
Bình luận
KarimGuettaf
thank you for sharing , Does it work on multiple time frames ?
hungbui
hi Grant - thks for sharing this. Does it work for commodities or just currencies?
Thêm nữa