Hallo,
kann mir bitte jemand diese Strategie codieren? Ich möchte dies im Forex-Markt anwenden. Die Einstiegsregeln sind recht einfach und sehr gut auf der Website beschrieben.
The Holy Grail Trading Setup – Trading Setups Review
Ich habe es nicht versucht:
Defparam CumulateOrders = false
MyAdx = ADX[14]
Sma20 = average[20,0](close)
// LONG conditions
L1 = MyAdx > 30
L2 = low[1] > Sma20
L3 = low <= Sma20
L4 = close > Sma20
L5 = MyAdx > MyAdx[1]
condL = L1 and L2 and L3 and L4 and L5
// SHORT Conditions
S1 = L1
S2 = high[1] < Sma20
S3 = high >= Sma20
S4 = close < Sma20
S5 = L5
condS = S1 and S2 and S3 and S4 and S5
//LONG Entry
If CondL and Not OnMarket then
Buy 1 contract at Market
Endif
//SHORT entry
If CondS and Not OnMarket then
Sellshort 1 contract at Market
Endif
// TP & SL
Set Target pProfit 300
Set Stop pLoss 100