Sentiment meter con Volumi
- This topic has 5 replies, 2 voices, and was last updated 7 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
Forums › ProRealTime forum Italiano › Supporto ProBuilder › Sentiment meter con Volumi
Vorrei costruire un indice che assomigli al Vortex dal punto di vista estetico ma che misuri il sentiment cioè quante operazioni short ho sul mercato e quante long.
La prima domanda è: il dato del numero di operazioni short e long a mercato è disponibile ?
Se no, potrei arrangiarmi con i volumi ma non ho ben capito come tirare fuori i volumi negativi e quelli positivi contemporaneamente per poterli mettere su un grafico.
Mi aiutate ?
Grazie
Ho fatto questo…funza abbastanza bene ma se ci fossero i dati sul numero di transazioni sarebbe meglio. Che ne dite ?
Si può migliorare ? Come ?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
// Sentiment meter // Copyright Alessandro Furlani - alex.furlani@gmail.com // AvgClose = Average[period](Close) if AvgClose > AvgClose[1] then SentLong=volume SentShort=-volume elsif AvgClose < AvgClose[1] then SentShort=volume SentLong=-volume elsif AvgClose=AvgClose[1] and SentLong[1]>0 then SentLong=volume SentShort=-volume elsif AvgClose=AvgClose[1] and SentShort[1]>0 then SentLong=-volume SentShort=volume endif Zero=0 return SentLong, SentShort, Zero |
Che appare cosi:
Grazie, li provo tutti i poi vedo quello che risponde meglio
Scusa Ivan ma dove li trovo quegli indicatori ?
Trovati grazie.