Indicatore della barra del volume: evidenzia la barra - Pagina 2

 

Publi

Indicatore della barra del volume: evidenzia la barra

 

Publi

Pagina 2 di 2 PrimaPrima 12
Risultati da 11 a 17 di 17

Discussione: Indicatore della barra del volume: evidenzia la barra

  1. #11
    1 Allegato(i) Ho modificato i codici di Futurespec in base alla tua richiesta aggiunta. può eseguire il drill-down fino a M1. saluti Zen
    https://www.forexmad.com/attachments...1429601238.mq4

  2. #12
    Citazione Originariamente Scritto da ;
    Grazie Zen, c'è un errore con getPeriodString. Stavo cercando di far sembrare l'indior più simile all'allegato per RSI al di sopra di un certo livello. Sono interessato solo a vedere un cambio di candela se il volume orario è superiore a 9000. Ho provato a modificare di seguito ma come puoi vedere la mia conoscenza è limitata.
    Ciao, non è un errore. Il compilatore sta solo dicendo che ho scritto una funzione che non è mai stata utilizzata. Sono stato pigro a cancellarlo visto che ce l'ho in quasi tutti gli indios che ho scritto. Non avevo capito che il tuo momento clou in realtà significa cambiare il colore della candela. Ho pensato che sarebbe bastato indicarlo con le frecce. colpa mia. In ogni caso, sia quella di Futurespec che quella mia puntano alle stesse candele. quindi fai la tua scelta.

  3. #13
    Futuerspec, Is there anyway when you drill down on time frames to see the representing 2 half hour bars and 4 15 minutes bars that represent the 1 hour volume time frame. If its a pain in the arse dont worry about it. Cheers

  4. #14
    Grazie Futurespec, spero non ti dispiaccia. Stavo per inviarti un PM ma odio farlo, quindi metti una richiesta sul forum aperto per vedere se qualcuno può aiutarti. Grazie mille lo apprezzo molto..

  5. #15
    1 Allegato(i) Qui. impostazioni piuttosto semplici. Cerca le frecce. Le frecce in alto mostrano una barra rialzista con un volume superiore a quello predefinito. Le frecce giù mostrano il contrario. saluti Zen
    https://www.forexmad.com/attachments...9576925090.mq4

  6. #16
    Thanks Zen, There is an error with the getPeriodString. I was trying to get the indior to look more like the attached for RSI above a certain level. I am only interested to see a candle change if the hour volume is above 9000. I have tried to modify below but as you can see my knowledge is limited. #property copyright Mn #property indior_chart_window #property indior_buffers 8 #property indior_color1 Blue #property indior_color2 Blue #property indior_color3 Blue #property indior_color4 Blue #property indior_width1 1 #property indior_width2 1 #property indior_width3 4 #property indior_width4 4 #property indior_color5 Red #property indior_color6 Red #property indior_color7 Red #property indior_color8 Red #property indior_width5 1 #property indior_width6 1 #property indior_width7 4 #property indior_width8 4 extern int mEarliestBar = 1000, mVolPrd = 1, mUpperLvl = 10000, mLowerLvl = 2000; double SigBarLo[], SigBarHi[], SigBarCl[], SigBarOp[], SigBarLo2[], SigBarHi2[], SigBarCl2[], SigBarOp2[]; /----------------------------------------------------------------------------- void init() { SetIndexBuffer(0, SigBarLo); SetIndexBuffer(1, SigBarHi); SetIndexBuffer(2, SigBarCl); SetIndexBuffer(3, SigBarOp); SetIndexBuffer(4, SigBarLo2); SetIndexBuffer(5, SigBarHi2); SetIndexBuffer(6, SigBarCl2); SetIndexBuffer(7, SigBarOp2); SetIndexEmptyValue(0, 0); SetIndexEmptyValue(1, 0); SetIndexEmptyValue(2, 0); SetIndexEmptyValue(3, 0); SetIndexStyle(0, DRAW_HISTOGRAM); SetIndexStyle(1, DRAW_HISTOGRAM); SetIndexStyle(2, DRAW_HISTOGRAM); SetIndexStyle(3, DRAW_HISTOGRAM); SetIndexStyle(4, DRAW_HISTOGRAM); SetIndexStyle(5, DRAW_HISTOGRAM); SetIndexStyle(6, DRAW_HISTOGRAM); SetIndexStyle(7, DRAW_HISTOGRAM); SetIndexDrawBegin(0, Bars - mEarliestBar); SetIndexDrawBegin(1, Bars - mEarliestBar); SetIndexDrawBegin(2, Bars - mEarliestBar); SetIndexDrawBegin(3, Bars - mEarliestBar); SetIndexDrawBegin(4, Bars - mEarliestBar); SetIndexDrawBegin(5, Bars - mEarliestBar); SetIndexDrawBegin(6, Bars - mEarliestBar); SetIndexDrawBegin(7, Bars - mEarliestBar); return(0); } /----------------------------------------------------------------------------- void start() { int mCounted = IndiorCounted(); if(mCounted lt; 0) return (-1); if(mCounted gt; 0) mCounted--; int mLimit = Bars - mCounted; for (int i = mLimit; i gt;= 0; i--) { double vVol1 = iVolume(NULL, 0, vVol1, PRICE_CLOSE, i 1); double vVol2 = iVolume(NULL, 0, vVol2, PRICE_CLOSE, i 2); if(vVol1 gt; mUpperLvl vVol2 lt; mUpperLvl) { SigBarLo = High; SigBarHi = Low; SigBarCl = Open; SigBarOp = Close; } if(vVol1 lt; mLowerLvl vVol2 gt; mLowerLvl) { SigBarLo2 = High; SigBarHi2 = Low; SigBarCl2 = Open; SigBarOp2 = Close; } } /for i return(0); } /----------------------------------------------------------------------------- void deinit() { return(0); } /-----------------------------------------------------------------------------
    https://www.forexmad.com/attachments...1820087843.mq4

  7. #17
    1 Allegato(i) Vedi usando uno dei miei vecchi indis. Aggiornato per grafico di 1 ora e volume M
    https://www.forexmad.com/attachments...1175444761.mq4

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •  
Il sito di forexmad utilizza cookie
Il sito di forexmad utilizza cookie, alcuni dei quali già installati. Per avere maggiori informazioni sui nostri cookie ti preghiamo di cliccare qui. Ti preghiamo di cliccare sul bottone a destra per accettare i nostri cookie. Se continui a navigare sul sito di forexmad assumeremo che sei d'accordo ad utilizzarli.