Como detectar gaps, pero solo los gaps alcistas, he probado con
//PRC_Breakaway Gaps screener | screener
//03.10.2016
//Nicolas @ http://www.prorealcode.com
//Sharing ProRealTime knowledge
hh = highest[10](high)
ll = lowest[10](low)
c = open[0]
vol = Volume/Volume[1]>1.5 and average[90](volume)>100000
breakup = variation>=3 and c>hh[1]
breakdown = variation<=-3 and c<ll[1]
SCREENER [vol and (breakup or breakdown)] (Variation as “variation”)
Pero salen tanto gaps alcistas como bajistas y solo quiero los gaps alcistas
GRACIAS
Solo gaps alcistas:
//PRC_Breakaway Gaps screener | screener
//03.10.2016
//Nicolas @ http://www.prorealcode.com
//Sharing ProRealTime knowledge
hh = highest[10](high)
//ll = lowest[10](low)
c = open[0]
vol = Volume/Volume[1]>1.5 and average[90](volume)>100000
breakup = variation>=3 and c>hh[1]
//breakdown = variation<=-3 and c<ll[1]
SCREENER [vol and breakup] (Variation as "variation")
Un GAP alcista es cuando la apertura es mayor que el máximo anterior.
Ahi esta:
c1 = open > high[1]
SCREENER[c1]
Gracias, el segundo no funion, pero el priemro si, de todas forams gracias a los dos