Screener rilevatore ribaltamento heikin ashi
Forums › ProRealTime forum Italiano › Supporto ProOrder › Screener rilevatore ribaltamento heikin ashi
- This topic has 3 replies, 2 voices, and was last updated 7 years ago by mario.
-
-
12/27/2016 at 10:09 AM #19149
Qui di seguito una domanda inviata a ProRealTime :
Vorrei uno strumento che mi individui e/o mi segnali nei vari time frame ogni cambio di candela HEIKIN ASHI da verde a rossa e viceversa
E un esempio di risposta :
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212timeframe (settimanale)IF BarIndex = 0 THENxCloseweek = TotalPricexOpenweek = Open//xHighweek = max(High,max(xOpenweek,xCloseweek))//xLowweek = min(Low,min(xOpenweek,xCloseweek))ELSExCloseweek = TotalPricexOpenweek = (xOpenweek[1] + xCloseweek[1])/2//xHighweek = max(High,max(xOpenweek,xCloseweek))//xLowweek = min(Low,min(xOpenweek,xCloseweek))ENDIFcondweek=(xCloseweek > xOpenweek and xCloseweek[1] < xOpenweek[1]) or (xCloseweek < xOpenweek and xCloseweek[1] > xOpenweek[1])timeframe (giornaliero)IF BarIndex = 0 THENxClosedaily = TotalPricexOpendaily = Open//xHighdaily = max(High,max(xOpendaily,xClosedaily))//xLowdaily = min(Low,min(xOpendaily,xClosedaily))ELSExClosedaily = TotalPricexOpendaily = (xOpendaily[1] + xClosedaily[1])/2//xHighdaily = max(High,max(xOpendaily,xClosedaily))//xLowdaily = min(Low,min(xOpendaily,xClosedaily))ENDIFconddaily=(xClosedaily > xOpendaily and xClosedaily[1] < xOpendaily[1]) or (xClosedaily < xOpendaily and xClosedaily[1] > xOpendaily[1])timeframe (4 ore)IF BarIndex = 0 THENxClose4h = TotalPricexOpen4h = Open//xHigh4h = max(High,max(xOpen4h,xClose4h))//xLow4h = min(Low,min(xOpen4h,xClose4h))ELSExClose4h = TotalPricexOpen4h = (xOpen4h[1] + xClose4h[1])/2//xHigh4h = max(High,max(xOpen4h,xClose4h))//xLow4h = min(Low,min(xOpen4h,xClose4h))ENDIFcond4h=(xClose4h > xOpen4h and xClose4h[1] < xOpen4h[1]) or (xClose4h < xOpen4h and xClose4h[1] > xOpen4h[1])timeframe(3 ore)IF BarIndex = 0 THENxClose3h = TotalPricexOpen3h = Open//xHigh3h = max(High,max(xOpen3h,xClose3h))//xLow3h = min(Low,min(xOpen3h,xClose3h))ELSExClose3h = TotalPricexOpen3h = (xOpen3h[1] + xClose3h[1])/2//xHigh3h = max(High,max(xOpen3h,xClose3h))//xLow3h = min(Low,min(xOpen3h,xClose3h))ENDIFcond3h=(xClose3h > xOpen3h and xClose3h[1] < xOpen3h[1]) or (xClose3h < xOpen3h and xClose3h[1] > xOpen3h[1])timeframe (2 ore)IF BarIndex = 0 THENxClose2h = TotalPricexOpen2h = Open//xHigh2h = max(High,max(xOpen2h,xClose2h))//xLow2h = min(Low,min(xOpen2h,xClose2h))ELSExClose2h = TotalPricexOpen2h = (xOpen2h[1] + xClose2h[1])/2//xHigh2h = max(High,max(xOpen2h,xClose2h))//xLow2h = min(Low,min(xOpen2h,xClose2h))ENDIFcond2h=(xClose2h > xOpen2h and xClose2h[1] < xOpen2h[1]) or (xClose2h < xOpen2h and xClose2h[1] > xOpen2h[1])timeframe (1 ora)IF BarIndex = 0 THENxClose1h = TotalPricexOpen1h = Open//xHigh1h = max(High,max(xOpen1h,xClose1h))//xLow1h = min(Low,min(xOpen1h,xClose1h))ELSExClose1h = TotalPricexOpen1h = (xOpen1h[1] + xClose1h[1])/2//xHigh1h = max(High,max(xOpen1h,xClose1h))//xLow1h = min(Low,min(xOpen1h,xClose1h))ENDIFcond1h=(xClose1h > xOpen1h and xClose1h[1] < xOpen1h[1]) or (xClose1h < xOpen1h and xClose1h[1] > xOpen1h[1])timeframe (30 minuti)IF BarIndex = 0 THENxClose30mn = TotalPricexOpen30mn = Open//xHigh30mn = max(High,max(xOpen30mn,xClose30mn))//xLow30mn = min(Low,min(xOpen30mn,xClose30mn))ELSExClose30mn = TotalPricexOpen30mn = (xOpen30mn[1] + xClose30mn[1])/2//xHigh30mn = max(High,max(xOpen30mn,xClose30mn))//xLow30mn = min(Low,min(xOpen30mn,xClose30mn))ENDIFcond30mn=(xClose30mn > xOpen30mn and xClose30mn[1] < xOpen30mn[1]) or (xClose30mn < xOpen30mn and xClose30mn[1] > xOpen30mn[1])timeframe(15 minuti)IF BarIndex = 0 THENxClose15mn = TotalPricexOpen15mn = Open//xHigh15mn = max(High,max(xOpen15mn,xClose15mn))//xLow15mn = min(Low,min(xOpen15mn,xClose15mn))ELSExClose15mn = TotalPricexOpen15mn = (xOpen15mn[1] + xClose15mn[1])/2//xHigh15mn = max(High,max(xOpen15mn,xClose15mn))//xLow15mn = min(Low,min(xOpen15mn,xClose15mn))ENDIFcond15mn=(xClose15mn > xOpen15mn and xClose15mn[1] < xOpen15mn[1]) or (xClose15mn < xOpen15mn and xClose15mn[1] > xOpen15mn[1])timeframe(10 minuti)IF BarIndex = 0 THENxClose10mn = TotalPricexOpen10mn = Open//xHigh10mn = max(High,max(xOpen10mn,xClose10mn))//xLow10mn = min(Low,min(xOpen10mn,xClose10mn))ELSExClose10mn = TotalPricexOpen10mn = (xOpen10mn[1] + xClose10mn[1])/2//xHigh10mn = max(High,max(xOpen10mn,xClose10mn))//xLow10mn = min(Low,min(xOpen10mn,xClose10mn))ENDIFcond10mn=(xClose10mn > xOpen10mn and xClose10mn[1] < xOpen10mn[1]) or (xClose10mn < xOpen10mn and xClose10mn[1] > xOpen10mn[1])timeframe(5 minuti)IF BarIndex = 0 THENxClose5mn = TotalPricexOpen5mn = Open//xHigh5mn = max(High,max(xOpen5mn,xClose5mn))//xLow5mn = min(Low,min(xOpen5mn,xClose5mn))ELSExClose5mn = TotalPricexOpen5mn = (xOpen5mn[1] + xClose5mn[1])/2//xHigh5mn = max(High,max(xOpen5mn,xClose5mn))//xLow5mn = min(Low,min(xOpen5mn,xClose5mn))ENDIFcond5mn=(xClose5mn > xOpen5mn and xClose5mn[1] < xOpen5mn[1]) or (xClose5mn < xOpen5mn and xClose5mn[1] > xOpen5mn[1])timeframe(3 minuti)IF BarIndex = 0 THENxClose3mn = TotalPricexOpen3mn = Open//xHigh3mn = max(High,max(xOpen3mn,xClose3mn))//xLow3mn = min(Low,min(xOpen3mn,xClose3mn))ELSExClose3mn = TotalPricexOpen3mn = (xOpen3mn[1] + xClose3mn[1])/2//xHigh3mn = max(High,max(xOpen3mn,xClose3mn))//xLow3mn = min(Low,min(xOpen3mn,xClose3mn))ENDIFcond3mn=(xClose3mn > xOpen3mn and xClose3mn[1] < xOpen3mn[1]) or (xClose3mn < xOpen3mn and xClose3mn[1] > xOpen3mn[1])timeframe(2 minuti)IF BarIndex = 0 THENxClose2mn = TotalPricexOpen2mn = Open//xHigh2mn = max(High,max(xOpen2mn,xClose2mn))//xLow2mn = min(Low,min(xOpen2mn,xClose2mn))ELSExClose2mn = TotalPricexOpen2mn = (xOpen2mn[1] + xClose2mn[1])/2//xHigh2mn = max(High,max(xOpen2mn,xClose2mn))//xLow2mn = min(Low,min(xOpen2mn,xClose2mn))ENDIFcond2mn=(xClose2mn > xOpen2mn and xClose2mn[1] < xOpen2mn[1]) or (xClose2mn < xOpen2mn and xClose2mn[1] > xOpen2mn[1])timeframe(1 minuto)IF BarIndex = 0 THENxClose1mn = TotalPricexOpen1mn = Open//xHigh1mn = max(High,max(xOpen1mn,xClose1mn))//xLow1mn = min(Low,min(xOpen1mn,xClose1mn))ELSExClose1mn = TotalPricexOpen1mn = (xOpen1mn[1] + xClose1mn[1])/2//xHigh1mn = max(High,max(xOpen1mn,xClose1mn))//xLow1mn = min(Low,min(xOpen1mn,xClose1mn))ENDIFcond1mn=(xClose1mn > xOpen1mn and xClose1mn[1] < xOpen1mn[1]) or (xClose1mn < xOpen1mn and xClose1mn[1] > xOpen1mn[1])condfinal=condweek or conddaily or cond4h or cond3h or cond2h or cond1h or cond30mn or cond15mn or cond10mn or cond5mn or cond3mn or cond2mn or cond1mnscreener[condfinal]12/27/2016 at 9:28 PM #1919312/28/2016 at 3:06 PM #19244Devi personalizzare la parte finale del tuo codice rispetto alle tue esigenze.
12condfinal=condweek or conddaily or cond4h or cond3h or cond2h or cond1h or cond30mn or cond15mn or cond10mn or cond5mn or cond3mn or cond2mn or cond1mnscreener[condfinal]Per esempio se decidi di effettuare uno screener con un timeframe 1 minuto , l’ultima parte del codice sarà:
1condfinal=cond1mn screener[condfinal]Il codice dello screener 1 minuto completo sarà:
1234567891011121314IF BarIndex = 0 THENxClose1mn = TotalPricexOpen1mn = Open//xHigh1mn = max(High,max(xOpen1mn,xClose1mn))//xLow1mn = min(Low,min(xOpen1mn,xClose1mn))ELSExClose1mn = TotalPricexOpen1mn = (xOpen1mn[1] + xClose1mn[1])/2//xHigh1mn = max(High,max(xOpen1mn,xClose1mn))//xLow1mn = min(Low,min(xOpen1mn,xClose1mn))ENDIFcond1mn=(xClose1mn > xOpen1mn and xClose1mn[1] < xOpen1mn[1]) or (xClose1mn < xOpen1mn and xClose1mn[1] > xOpen1mn[1])condfinal=cond1mnscreener[condfinal]12/28/2016 at 10:08 PM #19306Grandissimo Max!! ora pare funzionare tutto,lo testo e se sei disponibile ti chiedero’ delle ottimizzazioni. intanto mi dai una dritta su come inserire su “proscreener/lista da scandire/….una lista da me’ personalizzata con alcune coppie di valute e alcuni indici? grazie
-
AuthorPosts
Find exclusive trading pro-tools on