[ARCHIVIO] Qualsiasi domanda da principiante, per non ingombrare il forum. Professionisti, non passate oltre. Da nessuna parte senza di te - 3. - pagina 651

 
TarasBY:

Confronta il tempo di apertura dell'ordine con l'inizio della candela a 5 minuti, ad esempio

Prenderò a cuore i vostri commenti. Penso che dovrebbe essere OrderOpenTime invece di OrderOpenPrice.
 
paladin80: Prenderò a cuore i vostri commenti. Penso che dovrebbe essere OrderOpenTime invece di OrderOpenPrice.
Corretto!!! - Naturalmente.
 

Stanco di lottare con DRAW_HISTOGRAM, voglio disegnare delle barre nella sottofinestra, non riesco a ricordare come lavorare con DRAW_HISTOGRAM, non posso ottenere il riempimento sotto le barre

#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_color2 Blue
#property indicator_width1 2
#property indicator_width2 2
//--- buffers
double bufup[],bufdn[];
//+------------------------------------------------------------------+
int init(){
   SetIndexStyle(0,DRAW_HISTOGRAM);
   SetIndexBuffer(0,bufup);
   SetIndexStyle(1,DRAW_HISTOGRAM);
   SetIndexBuffer(1,bufdn);
   IndicatorDigits(2);
return(0);
}
//+------------------------------------------------------------------+
int deinit(){
return(0);
}
//+------------------------------------------------------------------+
int start(){
   int    i,limit,counted_bars;
   counted_bars=IndicatorCounted();
   if(counted_bars>0) counted_bars--;
   limit=Bars-counted_bars;
   for(i=limit; i>=0; i--){
      bufup[i] = High[i];
      bufdn[i] = Low[i];
   }
return(0);
}
//+------------------------------------------------------------------+
 
Imposta i buffer esplicitamente a zero come EMPTY_VALUE, e ha bisogno di un terzo buffer non disegnato per sostenere il fondo.
 
FAQ: e abbiamo bisogno di un terzo cuscinetto non disegnato per sostenere il fondo.

Sì, non resta che ricordare: l'ho fatto una volta.

ZS: Non è il momento di un nuovo argomento, sta rallentando il forum quando si aggiunge un nuovo post

forse è tutto qui:

#property indicator_separate_window
#property indicator_buffers 3
#property indicator_color1 Red
#property indicator_color2 Blue
#property indicator_width1 2
#property indicator_width2 2
#property indicator_width3 2
//--- buffers
double bufup[],bufdn[],bufnone[];
//+------------------------------------------------------------------+
int init(){
   SetIndexStyle(0,DRAW_HISTOGRAM);
   SetIndexBuffer(0,bufup);
   SetIndexStyle(1,DRAW_HISTOGRAM);
   SetIndexBuffer(1,bufdn);
   SetIndexBuffer(2,bufnone);
   SetIndexStyle(2,DRAW_HISTOGRAM);
return(0);
}
//+------------------------------------------------------------------+
int deinit(){
return(0);
}
//+------------------------------------------------------------------+
int start(){
   int    i,limit,counted_bars;
   counted_bars=IndicatorCounted();
   if(counted_bars>0) counted_bars--;
   limit=Bars-counted_bars;
   for(i=limit; i>=0; i--){
      bufup[i] = High[i];
      bufdn[i] = Low[i];
      bufnone[i] =Low[i];
   }
return(0);
}
//+------------------------------------------------------------------+
 
IgorM:

ZS: Non è tempo per un nuovo argomento, sta rallentando il forum quando si aggiunge un nuovo post


Sono d'accordo, è stato iniziato un nuovo thread.

Utenti: i post successivi saranno cancellati senza preavviso.

Gente, se il titolo del topic ha la parola "[Archivio]" allora non scrivete in questo thread!

 
L'utente logan78 è stato mandato al banner per non aver letto e aver spammato.
 
sannin:


Divieto di accesso per 24 ore
 
serjlarkin bannato per 24 ore per decompilazione e mancata lettura.
 
Buon pomeriggio
bisogno di un suggerimento


if(Send_Notification&&TimeCurrent()>=time+10) {time=TimeCurrent();SendNotification('BUY');} questo è quello che ho scritto
Ho bisogno che le notifiche non vadano oltre i 10 secondi
e poi si fermino fino al prossimo segnale
cosa c'è di sbagliato nelle notifiche che non si fermano?
potete suggerire?
si tratta solo del segno più meno?

Motivazione: