Hola:
Soy nuevo en este foro y usando PRT. He encontrado un indicador (Last Man Standing Swing) que parece bastante útil.
Existe algún Screener que permita detectar los puntos (tanto los morados como los azules)?.
Gracias.
A continuación, encontrará el código del filtro. Tenga en cuenta que los puntos morados y azules se trazan después y no en tiempo real.
//PRC_LastManStandingIndicator | screener
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
// --- settings
PeriodsInMajorSwing=13
PeriodsInMinorSwing=5
// --- end of settings
hhminorprice=0
llminorprice=close*1000
for i = 1 to PeriodsInMinorSwing*2 do
if high[i]>hhminorprice then
hhminorbar = barindex[i]
hhminorprice = high[i]
endif
if low[i]<llminorprice then
llminorbar=barindex[i]
llminorprice=low[i]
endif
next
hhmajorprice=0
llmajorprice=close*1000
for i = 1 to PeriodsInMajorSwing*2 do
if high[i]>hhmajorprice then
hhmajorbar = barindex[i]
hhmajorprice = high[i]
endif
if low[i]<llmajorprice then
llmajorbar=barindex[i]
llmajorprice=low[i]
endif
next
result = barindex-hhminorbar=PeriodsInMinorSwing or barindex-llminorbar=PeriodsInMinorSwing or barindex-hhmajorbar=PeriodsInMajorSwing or barindex-llmajorbar=PeriodsInMajorSwing
screener [result]