DEMAND INDEX indicatore
Forums › ProRealTime forum Italiano › Supporto ProBuilder › DEMAND INDEX indicatore
- This topic has 7 replies, 3 voices, and was last updated 7 years ago by ALE.
-
-
01/20/2017 at 6:21 PM #2189001/20/2017 at 6:24 PM #21891
Ciao vuoi parlare inglese o italiano?
Potrebbe condividere il codice di questo indicatore, almeno? o qualsiasi altro link di siti web su di esso? screenshot? Grazie in anticipo 🙂Hi do you want to talk english or italian?
Could you share the code of this indicator at least? or any other website links about it? screenshots? Thanks in advance 🙂01/20/2017 at 6:30 PM #2189201/20/2017 at 6:33 PM #218931234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374////////////////////////////////////////////////////////////////////SIBBET DEMAND INDEX//////////////////////////////////////////////////////////////////////{Programmed by David Fenstemaker}{Omega Code downloaded from}{http://www.purebytes.com/archives/omega/2002/msg04345.html}{converted to MS by wabbit here}//http://www.stator-afm.com/demand-index.html//tradotto per PRT da tetsuo{04 April 2008}//creare la variabile len(11)if barindex<=1 thenvolavg=volumeelsevolavg=(volavg[1]*(len-1)+volume)/lenendifwcl=(high+low+close+close)/4avgTR=average[len](highest[2](high)-lowest[2](low))If Wcl <> 0 and wcl[1] <> 0 and AvgTR <> 0 and VolAvg <> 0 thenwtcratio=(wcl-wcl[1])/(min(wcl,wcl[1]))volratio=volume/volavgconst2=((wcl*3)/avgtr)*abs(wtcratio)const=volratio/exp(min(const2,88))if wtcratio>0 thenbuypr=volratiosellpr=constelsebuypr=constsellpr=volratioendifbuypress=(buypress[1]*(len-1)+buypr)/lensellpress=(sellpress[1]*(len-1)+sellpr)/lentempdi=1if sellpress>buypress thensign=-1elsesign=1endifif sellpress>buypress thentempDI=sign*(buypress/sellpress)elsetempDI=sign*(sellpress/buypress)endifif tempDI<0 thenmyDMI=100*(-1-tempDI)elsemyDMI=100*(1-tempDI)endifendifreturn mydmi coloured(0,0,255) as "DEMAND INDEX", 0/////////////////////////FINE///////////////////////////questo è un codice che ho trovato ma non mi gira su prorealtime
01/21/2017 at 5:37 PM #21972Ho risolto il problema del codice. Ci sono state molte righe di testo che doveva essere commentata. Ho anche aggiungere la variabile “len”, necessario per impostare il periodo di calcolo di questo indicatore tecnico.
In allegato a questo messaggio, il file ITF per importare nella tua piattaforma di trading e di un quadro esempio dell’indicatore.1 user thanked author for this post.
01/21/2017 at 6:15 PM #2198001/21/2017 at 7:41 PM #2198503/06/2017 at 10:54 PM #27489 -
AuthorPosts
Find exclusive trading pro-tools on