+
6 8 1 2 3 4 5 6 7 8
51 60 75

: .

  1. #51
    ClusterDelta.com Team
    27.10.2011
    3,877
    ()
    447
    2,096 () 1,075
    funtic
    . , , .
    , .

    3 - .

  2. #52
    ClusterDelta.com Team   Ranc
    28.10.2011
    446
    ()
    153
    115 () 83
    , 4 . - - 4 . - . .
    ... ...

    clusterdelta.com - -

    ,

  3. #53

    01.09.2015
    30
    ()
    1
    1 1
    ! VWAP , )

  4. #54
    ClusterDelta.com Team
    27.10.2011
    3,877
    ()
    447
    2,096 () 1,075
    ! VWAP , )
    , , , . VWAP . - : , ..

  5. #55

    01.09.2015
    30
    ()
    1
    1 1
    )))
    int; ...

  6. #56

    21.01.2012
    84
    ()
    0
    4 () 4
    , . . , ?????

  7. #57

    16.06.2013
    14
    ()
    8
    0 () 0
    , !

    .
    CSV- ( - ).

    ( ) CSV-. .
    , .
    , , ( ???) , . .
    , , , ( ) - / . ?

    MQL , , , . .
    .

    !
    !!!

  8. #58

    14.08.2015
    16
    ()
    0
    1 1
    deniss
    , .

    3 - .
    . 4 ?

  9. #59

    16.06.2013
    14
    ()
    8
    0 () 0

    CSV

    !



    . - , CSV-
    . .
    DrawIndicator.
    , , ( , ).
    , MQL .

    :
    //+------------------------------------------------------------------+
    //| History_VOLUME_1.mq4 |
    //| |
    //| http://www.mqlvopros.net |
    //| |
    //| |
    //| ! , , |
    //| ReadCSVFile |
    //+------------------------------------------------------------------+

    //--- indicator settings
    #property indicator_separate_window //
    #property indicator_buffers 1 // - 1
    #property indicator_color1 Black //
    #property indicator_width1 2 // - 2

    //---- indicator buffers
    double VOL[];
    //+------------------------------------------------------------------+
    //| |
    //+------------------------------------------------------------------+
    struct History
    {
    datetime date_op; //
    datetime time_op; //
    datetime date_cl; //
    datetime time_cl; //
    double open; //
    double high; //
    double low; //
    double close; //
    int volume; //
    int delta; //
    int ask; //
    int bid; //
    datetime expiration; //
    };
    //+------------------------------------------------------------------+
    //| Custom indicator initialization function |
    //+------------------------------------------------------------------+
    int init()
    {
    //--- drawing settings
    SetIndexStyle(0,DRAW_HISTOGRAM);
    //---- indicator buffers mapping
    SetIndexBuffer(0,VOL);
    //--- name for DataWindow and indicator subwindow label
    IndicatorShortName("VOLUME");
    SetIndexLabel(0,"VOLUME");
    //--- initialization done
    return(0);
    }
    //--------------------------------------------------------------- 1 --
    int start() // . start
    //--------------------------------------------------------------- 2 --
    {
    string File_Name="EURO_15_min_2014.csv"; //
    {
    //---
    History lines[];
    //
    // true
    if(ReadCSVFile(File_Name, lines))
    {
    //
    if(ArraySize(lines) > 0)
    {
    //
    for(int i = ArraySize(lines)-1; i >= 0; i--)
    DrawIndicator(lines[i]);
    }
    else
    Print(" !");
    }
    else
    Print(" !");
    //---
    }
    return (0);
    }
    //---------------------------------------------------------------- 3 --
    //+--------------------------------------------------------------------+
    //| csv
    //| fileName - csv
    //| lines -
    //+--------------------------------------------------------------------+
    bool ReadCSVFile(string File_Name, History &lines[])
    {
    bool _result = false;
    //
    ArrayResize(lines,0);
    //
    int _fileHandle = FileOpen(File_Name,FILE_READ|FILE_CSV,";");
    if(_fileHandle != INVALID_HANDLE)
    {
    //
    _result = true;
    //
    FileSeek(_fileHandle,0,SEEK_SET);
    //
    while(!FileIsEnding(_fileHandle))
    {
    //
    ArrayResize(lines,ArraySize(lines)+1);
    //
    int _addItemNum = ArraySize(lines)-1;
    //
    lines[_addItemNum].date_op = (int)FileReadNumber(_fileHandle);
    //
    lines[_addItemNum].time_op = FileReadString(_fileHandle);
    //
    lines[_addItemNum].volume = FileReadDatetime(_fileHandle);
    }
    //
    FileClose(_fileHandle);
    }
    else
    Print(" : " + IntegerToString(GetLastError()));
    //
    return _result;
    }
    //+------------------------------------------------------------------+
    //
    //+------------------------------------------------------------------+
    bool DrawIndicator(History &lines)
    {
    bool _result = false;
    //
    if(lines.date_op != 0) return _result;

    // ,
    int _indexBar = iBarShift(_Symbol,_Period, lines.orderOpenTime, true);
    if(_indexBar > -1)
    {
    //
    string _objName = "order #"+IntegerToString(lines.ticketNum);
    // ,
    if(ObjectFind(0, _objName) == -1)
    {
    //
    ENUM_OBJECT _objType = NULL;
    if(lines.orderType == OP_BUY)
    {
    _objType = OBJ_ARROW_BUY;
    }
    else
    if(lines.orderType == OP_SELL)
    {
    _objType = OBJ_ARROW_SELL;
    }
    if(_objType != NULL)
    {
    //
    if(!ObjectCreate(0, _objName, _objType, 0, Time[_indexBar],
    lines.orderOpenPrice))
    {
    Print(" "+_objName+
    " #"+IntegerToString(GetLastError()));
    }
    }
    }
    }
    //
    return _result;

    }
    //+------------------------------------------------------------------+


    - , ???

  10. #60
    ClusterDelta.com Team
    27.10.2011
    3,877
    ()
    447
    2,096 () 1,075
    Alexey-fx
    !



    :
    [...skip...]
    //---- indicator buffers
    double VOL[];
    [...skip...]
    int init()
      {
    [...skip...]
       SetIndexBuffer(0,VOL);
    [...skip...]

    - , ???
    - Time, Bars, Open, Close .

    () 0, 1, 2, 3

    VOL,

    . .

    : SV, 4, VOL . MT4 ArrayBSearch, , .

    iBarShift(_Symbol,_Period, lines.orderOpenTime, true);

    , - , 4 + .

+

     

 

ClusterDelta.com - . : , , , http://clusterdelta.com http://forum.clusterdelta.com , , , .


, , . , , , .


(C) 2009-2012 ClusterDelta.com. .

 

@Mail.ru