+ Îòâåòèòü â òåìå
Ñòðàíèöà 19 èç 72 ÏåðâàÿÏåðâàÿ ... 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 69 ... ÏîñëåäíÿÿÏîñëåäíÿÿ
Ïîêàçàíî ñ 181 ïî 190 èç 713

Òåìà: Îáñóæäåíèå èíäèêàòîðîâ îáúåìà è äåëüòû

  1. #181
    Ïîëüçîâàòåëü
    Ðåãèñòðàöèÿ
    13.01.2012
    Ñîîáùåíèé
    13
    Ñêàçàë(à) ñïàñèáî
    0
    Ïîáëàãîäàðèëè 0 ðàç(à) â 0 ñîîáùåíèÿõ
    Dear Friends....someone know how many "index buffer" are on CumDelta.ex4?
    I need to do that for my experiment:

    double test=iClusterDelta_CumDelta.ex4(NULL,0,?,?...?...) ;

    How could I found that??
    Tnx Fabio

  2. #182
    ClusterDelta.com Team
    Ðåãèñòðàöèÿ
    27.10.2011
    Ñîîáùåíèé
    4,258
    Ñêàçàë(à) ñïàñèáî
    473
    Ïîáëàãîäàðèëè 2,158 ðàç(à) â 1,129 ñîîáùåíèÿõ
    Öèòàòà Ñîîáùåíèå îò niklss Ïîñìîòðåòü ñîîáùåíèå
    Ïðèâåò! Íà èíñòå ïî÷åìóòî íå ðàáîòàåò. È äðóãîé âîïðîñ. Ñìîòðþ çäåñü èíäèêàòîðû ñòàâÿò è íà ïàðû åâðî ñ äîëë è íà ôóíò ñ äîëë. À ãäå íà ôîðåêñå îáú¸ìû?
    ôüþ÷åðñíûå îáúåìû ïðîåêòèðîâàíûûå íà ôîðåêñ ïàðó

    Öèòàòà Ñîîáùåíèå îò ketron82 Ïîñìîòðåòü ñîîáùåíèå
    Dear Friends....someone know how many "index buffer" are on CumDelta.ex4?
    I need to do that for my experiment:
    double test=iClusterDelta_CumDelta.ex4(NULL,0,?,?...?...) ;
    How could I found that??
    Tnx Fabio
    CumDelta and Volume: 1 buffer, Delta: 2 buffers for positive and negative values.

  3. #183
    Ïîëüçîâàòåëü
    Ðåãèñòðàöèÿ
    13.01.2012
    Ñîîáùåíèé
    13
    Ñêàçàë(à) ñïàñèáî
    0
    Ïîáëàãîäàðèëè 0 ðàç(à) â 0 ñîîáùåíèÿõ
    Öèòàòà Ñîîáùåíèå îò deniss Ïîñìîòðåòü ñîîáùåíèå
    ôüþ÷åðñíûå îáúåìû ïðîåêòèðîâàíûûå íà ôîðåêñ ïàðó



    CumDelta and Volume: 1 buffer, Delta: 2 buffers for positive and negative values.

    Sorry...I made an error ;(
    So...the correct way to recall Delta_CumDelta.ex4 is it?
    double testpostive=iCustom(NULL, 0, "Delta_CumDelta",...parameters?....,1,0);
    double testnegative=iCustom(NULL, 0, "Delta_CumDelta",...parameters?....,2,0);

    Is this correct? And the parameters that I see "auto - 10 - auto" How can I insert this?
    Thanks again a Lot Mr. Deniss

    @@@@@@@@@@@@@@@@@@@@
    double iCustom( string symbol, int timeframe, string name, ..., int mode, int shift)

    Calculates the specified custom indicator and returns its value. The custom indicator must be compiled (*.EX4 file) and be in the terminal_directory\experts\indicators directory.
    Parameters:
    symbol - Symbol the data of which should be used to calculate indicator. NULL means current symbol.
    timeframe - Timeframe. It can be any of Timeframe enumeration values. 0 means the current chart timeframe.
    name - Custom indicator compiled program name.
    ... - Parameters set (if necessary). The passed parameters and their order must correspond with the desclaration order and the type of extern variables of the custom indicator.
    mode - Line index. Can be from 0 to 7 and must correspond with the index used by one of SetIndexBuffer functions.
    shift - Index of the value taken from the indicator buffer (shift relative to the current bar the given amount of periods ago).
    @@@@@@@@@@@@@@@@@@@@

  4. #184
    ClusterDelta.com Team
    Ðåãèñòðàöèÿ
    27.10.2011
    Ñîîáùåíèé
    4,258
    Ñêàçàë(à) ñïàñèáî
    473
    Ïîáëàãîäàðèëè 2,158 ðàç(à) â 1,129 ñîîáùåíèÿõ
    Öèòàòà Ñîîáùåíèå îò ketron82 Ïîñìîòðåòü ñîîáùåíèå
    Sorry...I made an error ;(
    So...the correct way to recall Delta_CumDelta.ex4 is it?
    double testpostive=iCustom(NULL, 0, "Delta_CumDelta",...parameters?....,1,0);
    double testnegative=iCustom(NULL, 0, "Delta_CumDelta",...parameters?....,2,0);

    Is this correct? And the parameters that I see "auto - 10 - auto" How can I insert this?
    Delta_CumDelta has only one buffer.
    Its will be better if you use iCustom calls with a static parameters: "6E 03-12", 60, "1"
    6E 03-12 - ticker of instrument
    60 - update interval
    1 - GMT of your terminal

  5. #185
    ClusterDelta.com Member
    Ðåãèñòðàöèÿ
    31.12.2011
    Ñîîáùåíèé
    406
    Ñêàçàë(à) ñïàñèáî
    173
    Ïîáëàãîäàðèëè 483 ðàç(à) â 228 ñîîáùåíèÿõ
    ÿ òàê âûçûâàþ
    ....
    extern string Commen="-- Futures Ticker or AUTO";
    extern string Instrument="AUTO";
    extern int Update_in_sec=60;
    extern string MetaTrader_GTM="AUTO";
    ......

    for(int i=0; i<limit; i++)
    {
    t=iCustom(Symbol(),0,"ClusterDelta_CumDelta","__", Instrument,Update_in_sec,MetaTrader_GTM,0,i);
    ....
    return(0);
    Âñå ðàáîòàåò

  6. #186
    Ïîëüçîâàòåëü
    Ðåãèñòðàöèÿ
    14.01.2012
    Ñîîáùåíèé
    5
    Ñêàçàë(à) ñïàñèáî
    0
    Ïîáëàãîäàðèëè 0 ðàç(à) â 0 ñîîáùåíèÿõ
    òèíêîðñâèì íå äàåò âîçìîæíîñòü ñìîòðåòü êëàñòåðíûå ãðàôèêè

  7. #187
    Ïîëüçîâàòåëü
    Ðåãèñòðàöèÿ
    13.01.2012
    Ñîîáùåíèé
    13
    Ñêàçàë(à) ñïàñèáî
    0
    Ïîáëàãîäàðèëè 0 ðàç(à) â 0 ñîîáùåíèÿõ
    Many thanks MrBags...but I have some problem ;(

    Êîä:
    #property indicator_separate_window
    #property indicator_buffers 2
    #property indicator_color1 DarkGreen
    #property indicator_color2 Red
    
    //----
    
    extern string Commen="-- Futures Ticker or AUTO";
    extern string Instrument="AUTO";
    extern int Update_in_sec=60;
    extern string MetaTrader_GTM="AUTO";
    
    
    
    //----
    double ExtBuffer1[];
    double ExtBuffer2[];
    
    
    //+------------------------------------------------------------------+
    //|                                                                  |
    //+------------------------------------------------------------------+
    int init()
      {
       ObjectsDeleteAll(); 
    
       SetIndexStyle(0,DRAW_HISTOGRAM,STYLE_SOLID,3);
       SetIndexStyle(1,DRAW_HISTOGRAM,STYLE_SOLID,3);
    
      
    
       SetIndexBuffer(0,ExtBuffer1);
       SetIndexBuffer(1,ExtBuffer2);
    
    
    
    
       IndicatorShortName("TEST CVD");
       return(0);
      }
      int deinit()
      {
    //----
     ObjectsDeleteAll();  
    //----
       return(0);
      }
    //+------------------------------------------------------------------+
    //|                                                                  |
    //+------------------------------------------------------------------+
    int start()
      { // START
       
       int i, limit;
    
       int counted_bars = IndicatorCounted();
       if(counted_bars < 0) 
           return(-1);
       if(counted_bars > 0) 
           counted_bars--;
       limit = Bars - counted_bars; 
    //----   
       for(i=0; i<limit; i++)
         { // FOR
         
           //#################################################################
    
    
             double negative =iCustom(Symbol(),0,"ClusterDelta_CumDelta","__", Instrument,Update_in_sec,MetaTrader_GTM,0,i);
             double positive =iCustom(Symbol(),0,"ClusterDelta_CumDelta","__", Instrument,Update_in_sec,MetaTrader_GTM,1,i);
            
            //#################################################################        
    
                   ExtBuffer1[i] = negative;
                   //ExtBuffer2[i] = positive;
                   
     
    //**********************************************************************************          
            }
            Comment("\n\n TEST CVD \n",
            "\n@@@@@@@@  KETRON82  @@@@@@@@ \n",
            "@ testnegative: ",DoubleToStr(negative,8),"                       @\n",
            "@ testpositive: ",DoubleToStr(positive,8),"                       @\n",
            "@@@@@@@@  KETRON82  @@@@@@@@ \n");   
    //#################################################################                 
         
       return(0);
      }  // START
    //+------------------------------------------------------------------+



    I don't now because the positive and negative (double) are "0" (empty) end the graph in separate window is "clear"
    What do you think? Where is the errors?
    Tnx Fabio

  8. #188
    ClusterDelta.com Team Àâàòàð äëÿ Ranc
    Ðåãèñòðàöèÿ
    28.10.2011
    Àäðåñ
    Êðàñíîÿðñê
    Ñîîáùåíèé
    448
    Ñêàçàë(à) ñïàñèáî
    156
    Ïîáëàãîäàðèëè 116 ðàç(à) â 84 ñîîáùåíèÿõ
    Öèòàòà Ñîîáùåíèå îò ketron82 Ïîñìîòðåòü ñîîáùåíèå
    Many thanks MrBags...but I have some problem ;(

    I don't now because the positive and negative (double) are "0" (empty) end the graph in separate window is "clear"
    What do you think? Where is the errors?
    Tnx Fabio
    Hi, Fabio! I'm not strong in programming... and english)) But you can to insert next string:

    int init()
    {
    ObjectsDeleteAll();
    IndicatorBuffers(2);
    SetIndexStyle(0,DRAW_HISTOGRAM,STYLE_SOLID,3);
    SetIndexStyle(1,DRAW_HISTOGRAM,STYLE_SOLID,3);
    SetIndexBuffer(0,ExtBuffer1);
    SetIndexBuffer(1,ExtBuffer2);
    IndicatorShortName("TEST CVD");
    return(0);
    }

    After compiling indicator, remove it from chart and insert again.
    Ïîáåäèòåëåé íå ñóäÿò... Õèùíèêîâ òîæå...

    clusterdelta.com - áèðæåâîé èíôîðìàöèîííî-àíàëèòè÷åñêèé ïîðòàë

    Ñ óâàæåíèåì, Ðàäèê

  9. #189
    ClusterDelta.com Team
    Ðåãèñòðàöèÿ
    27.10.2011
    Ñîîáùåíèé
    4,258
    Ñêàçàë(à) ñïàñèáî
    473
    Ïîáëàãîäàðèëè 2,158 ðàç(à) â 1,129 ñîîáùåíèÿõ
    Öèòàòà Ñîîáùåíèå îò Ranc Ïîñìîòðåòü ñîîáùåíèå
    After compiling indicator, remove it from chart and insert again.
    After compiling terminal will reload new code automaticaly.

    double negative =iCustom(Symbol(),0,"ClusterDelta_CumDelta","__", Instrument,Update_in_sec,MetaTrader_GTM,0,i);
    double positive =iCustom(Symbol(),0,"ClusterDelta_CumDelta","__", Instrument,Update_in_sec,MetaTrader_GTM,1,i);
    There is only ONE buffer in CumDelta.

    Fabio, please, write what you want to get as a result? Cumulative Delta data for an expert ?

  10. #190
    Ó÷àñòíèê
    Ðåãèñòðàöèÿ
    07.01.2012
    Ñîîáùåíèé
    45
    Ñêàçàë(à) ñïàñèáî
    38
    Ïîáëàãîäàðèëè 4 ðàç(à) â 3 ñîîáùåíèÿõ
    Äåíèñ äîáðûé âå÷åð! Èíäèêàòîðû îñòàíîâèëèñü â 22.00 Mñê. Âðåìÿ GMT - AUTO. ×òî ýòî ìîæåò áûòü åñëè âåñü âå÷åð ðàáîòàëè íà àâòî?

+ Îòâåòèòü â òåìå
Ñòðàíèöà 19 èç 72 ÏåðâàÿÏåðâàÿ ... 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 69 ... ÏîñëåäíÿÿÏîñëåäíÿÿ

Âàøè ïðàâà

  • Âû íå ìîæåòå ñîçäàâàòü íîâûå òåìû
  • Âû íå ìîæåòå îòâå÷àòü â òåìàõ
  • Âû íå ìîæåòå ïðèêðåïëÿòü âëîæåíèÿ
  • Âû íå ìîæåòå ðåäàêòèðîâàòü ñâîè ñîîáùåíèÿ
           

 


(C) 2009-2023 ClusterDelta.com.