Flex i Chart

download Flex i Chart

of 12

Transcript of Flex i Chart

  • 7/24/2019 Flex i Chart

    1/12

    FlexiChart 2.0Contents

    Section Page

    1 - Installation 2

    2 - MetaTrader Settings 3

    3 - Setting Up a Data Feed Chart. 4

    4 - Running the FlexiCharts ! "

    # - FlexiCharts $ptions %

    " -Ti&e Charts '

    % - C(Ti&e Charts )

    ' - *oading +istor, ro& $ne Minute Data 1

    ) - /adding 0arsCandles 11

    1 - *ist o possile ti&e ra&es 12

    1

  • 7/24/2019 Flex i Chart

    2/12

    InstallationThere are three iles to e installed as ollos

    TheFlexiCharts.ex4ile is to e opied to 5,our MetaTrader folder name67 experts

    ig 1.1

    In ig 1.1 the Metatrader older na&e is 8MetaTrader - F9$pen: and the experts older has een

    seleted.

    The $*ine.ex4 and I$Utils.ex4 iles are to e opied to 5,our MetaTrader folder name67

    experts7liraries

    ig 1.2

    In ig 1.2 the liraries older has een seleted.

    2

  • 7/24/2019 Flex i Chart

    3/12

    MetaTrader Settings

    To enale FlexiCharts to or; the olloing settings &ust e enaled.

    First open the options settings or& , seleting Toolsand then Optionsro& the Menu.

    Then selet theExpert Advisersta.

    fig 2.3 Tools/Options

    fig 2.4

    Set all o the he; oxes as per ig 2.4.

    3

  • 7/24/2019 Flex i Chart

    4/12

    Setting Up a Data Feed Chart

    MetaTrader 4 onl, enales a e ti&e ra&es and hart t,pes. FlexiChart oers an extended

    set , reating its on hart iles. To reate these iles a hart is opened< the Flexihart ! is plae

    onto it and the options are hosen , the user. This hart is alled the Data Feed Chart=DFM>. This

    reates the oline histor, ile and a hart o this ile an no e opened. ?ote that a MetaTrader

    xpert !d@isor =!> is not a trading root. It is a progra& that responds to @arious e@ents ithinMT4. FlexiChart is ?$T a trading root.

    The irst step is to open a hart o the urren, or &ar;et ,ou ish to use. It does not &atter

    hat the ti&e ra&e is. Sine the purpose o this hart is to at as a data eed or our FlexiChart e

    do not need to aste our @ieing spae , ha@ing it large or in the oreground. Aou an ignore these

    propert, settings i ,ou ish. In ig 3.1 a dail, hart o URUSD is opened and is redued to a

    s&all siBe and an al&ost lan; sreen , ha@ing the olloing properties set. To open the properties

    or the hart right li; on it and selet properties.

    ?o set the properties o the hart as ollos. The data eed hart &ust not e losed and i ,ou

    hoose a dierent proile then the ! ill ease to untion. This is a eature o MT4 and annot e

    a@oided. /ro@ided the

    fig 3.

    4

  • 7/24/2019 Flex i Chart

    5/12

    Then selet the Commonta and set as per ig 3.2

    fig 3.2

    Selet the Colors ta and set the!ine graph"propert, olor to#oneas per igure 3.3 then lose the

    properties or&.

    fig 3.3

    #

  • 7/24/2019 Flex i Chart

    6/12

    Running the FlexiCharts E

    Che; that there is an xpert !d@isor na&ed FlexiCharts in the xpert !d@isors setion in

    ,our ?a@igator indo. I ,ou annot see it tr, losing MetaTrader and reopening it.

    fig 4.Infig 4.the FlexiCharts ! has een seleted. It ill e olored gre, in ,our MT4 appliation. It

    is lue on &ine as I ha@e the soure ode.

    The next step is to drag and drop the FlexiCharts ! onto the hart that e ha@e opened.

    Upon doing so a properties or& ill open. Set the o&&on ta as ollos.

    fig 4.2

    "

  • 7/24/2019 Flex i Chart

    7/12

    FlexiCharts !ptions

    The next step is to selet the Inputs ta o the properties or&.

    ah propert, deines its on suset o inputs so ,ou do not ha@e to ha@e all o the inputs set to the

    orret @alue. The olloing pages desrie the hart t,pes and detail their options.

    %

  • 7/24/2019 Flex i Chart

    8/12

    TIME C"RTS#

    Ti&e harts are a@ailale in ti&e ra&es that are a di@isor o the nu&er o seonds in one

    da,. Thus there are )" possiilities and these are listed at the end o this dou&ent. The olloing

    list the other options to e set or ti&e harts. ! ti&e o is a ti; hart. hen running a

    ti; hart MetaTrader ill sho errors in the xperts ta. These an e ignored.

    Eariale $ptions and Details

    ChartT,pe TIM

    0id$r!s; $ptions 0ID or !SG

    Deault 0ID

    This ill dra the hart using the id or

    the as;.

    CandleTi&eFra&e Must e in the or& hh&&ss and e

    one o the alloed @alues.

    UseS,ste&Ti&e $ptions are true or alse

    This ill use the o&puters s,ste& ti&eas the ti&e sta&p or the data i set to

    true< or the ino&ing ti&e sta&p ro&

    ,our ro;erHs MT4 ser@er i set to alse.

    StartFresh $ptions are true or alse

    I set to true this ill o@errite ,our

    existing FlexiChart histor, ile or this

    setting and start a ne one. Deault is

    alse.

    *oadFro&(1(MinuteData $ptions are true or alse

    Read the detailed explanation

    /ad0ars $ptions are true or alse

    UseS,ste&Ti&e &ust also e set to true.

    hen alse no e&pt, ars ill e

    reated. hen true i there is no trading

    during that ti&e a ar ill e reated

    using the lose o the pre@ious ar as the

    onl, prie.

    Ti&eShitIn+ours $ptions are an integer ro& a &ini&u&

    o -23 to a &axi&u& o 23

    This ill adJust the ti&esta&p o thedata in the histor, ile. I ,ou anted to

    ha@e no Saturda, or Sunda, ars on

    ,our hart then &ost users ould need

    to adJust the ti&e to ahie@e this.

    '

  • 7/24/2019 Flex i Chart

    9/12

    C$TIME C"RTS#

    C(Ti&e =Co&ined(Ti&e> harts are a o&ination o the id and the as;. The open and

    lose o the ar are the id< the +igh is the &axi&u& o the id and as; and the *o is the

    &ini&u& o the id and as;. The, are a@ailale in the sa&e ti&e ra&es as ti&e harts that are a

    di@isor o the nu&er o seonds in one da,. Thus there are )" possiilities and these are listed at

    the end o this dou&ent. The olloing list the other options to e set or ti&e harts.

    These harts are good or salpers ho need to see the o&plete piture o prie ation onthe sreen. ith o&ined harts ,ou an see here to auratel, plae stops and the, an e a

    @er, useul tool.

    Eariale $ptions and Details

    ChartT,pe C(TIM

    0id$r!s; ignored

    CandleTi&eFra&e Must e in the or& hh&&ss and e

    one o the alloed @alues.

    UseS,ste&Ti&e $ptions are true or alseThis ill use the o&puters s,ste& ti&e

    as the ti&e sta&p or the data i set to

    true< or the ino&ing ti&e sta&p ro&

    ,our ro;erHs MT4 ser@er i set to alse.

    StartFresh $ptions are true or alse

    I set to true this ill destro, ,our

    existing lexihart histor, ile or this

    setting and start a ne one. Deault is

    alse.

    /ad0ars $ptions are true or alseUseS,ste&Ti&e &ust also e set to true.

    hen alse no e&pt, ars ill e

    reated. hen true i there is no trading

    during that ti&e a ar ill e reated

    using the lose o the pre@ious ar as the

    onl, prie.

    Ti&eShitIn+ours $ptions are an integer ro& a &ini&u&

    o -1" to a &axi&u& o 1"

    This ill adJust the ti&esta&p o the

    data in the histor, ile. I ,ou anted toha@e no Saturda, or Sunda, ars on

    ,our hart then &ost users ould need

    to adJust the ti&e to ahie@e this.

    )

  • 7/24/2019 Flex i Chart

    10/12

    %oading "istor& 'ro( !ne Minute Data

    In order to ill ,our ne ile ith data it is possile to use the MT4 one &inute ile as the

    soure. hen hoosing a ti&e ra&e greater or eKual to one &inute the open< high< lo and lose o

    the one &inute ar ill e used to uild ,our histor, ile. I the ti&e ra&e is less than one &inute

    then onl, the lose o the one &inute ars ill e used.

    Step )# In order to ensure that ,our histor, is as o&plete as possile it is neessar, to lose

    MT4 and then reopen it. This ill lush the ile &e&or, and ring the one &inute

    iles up to date.

    Step 2#Set ,our ChartT,pe< 0idor!s;< CandleTi&eFra&e< UseS,ste&Ti&e and

    Ti&eShitIn+ours as reKuired.

    Step *#Set the Start Fresh option to trueL

    Step +#Set the 8*oadFro&(1(MinuteData: option to true.

    /lease note the or ti&e ra&es less than one &inute the ars reated do not auratel, represent the

    prie histor, as the, ere onl, uilt ro& the lose o the &inute. hen using the s&aller ti&e

    ra&es it is etter to let FlexiCharts uild the ile ro& srath.

    1

  • 7/24/2019 Flex i Chart

    11/12

    Padding ,ars-Candles

    I ,ou ant the hart to ontain padded ars then the olloing options &ust e set.

    UseS&ste(Ti(e true

    /ad0ars true

    It is strongl, reo&&ended that ,ou set ,our o&puters s,ste& ti&e to e the sa&e as ,our ro;ers

    ser@er ti&e. Then ,ou do not ha@e to alulate and hange the @alue or Ti&eShitIn+ours i ,ouant the hart ti&e to &ath the ser@er ti&e.

    fig $. a padded % se&ond &hart

    11

  • 7/24/2019 Flex i Chart

    12/12

    Possile Ti(e Fra(es

    00:00:00 00:00:01 00:00:02 00:00:03

    00:00:04 00:00:05 00:00:06 00:00:08

    00:00:09 00:00:10 00:00:12 00:00:15

    00:00:16 00:00:18 00:00:20 00:00:24

    00:00:25 00:00:27 00:00:30 00:00:32

    00:00:36 00:00:40 00:00:45 00:00:48

    00:00:50 00:01:00 00:01:04 00:01:12

    00:01:15 00:01:20 00:01:30 00:01:36

    00:01:40 00:01:48 00:02:00 00:02:08

    00:02:15 00:02:24 00:02:30 00:02:40

    00:03:00 00:03:12 00:03:20 00:03:36

    00:03:45 00:04:00 00:04:30 00:04:48

    00:05:00 00:05:20 00:06:00 00:06:24

    00:06:40 00:07:12 00:07:30 00:08:00

    00:09:00 00:09:36 00:10:00 00:10:40

    00:11:15 00:12:00 00:13:20 00:14:24

    00:15:00 00:16:00 00:18:00 00:19:12

    00:20:00 00:22:30 00:24:00 00:26:40

    00:28:48 00:30:00 00:32:00 00:36:00

    00:40:00 00:45:00 00:48:00 00:53:20

    00:57:36 01:00:00 01:10:30 01:20:00

    01:30:00 01:36:00 02:00:00 02:24:00

    02:40:00 03:00:00 04:00:00 04:48:00

    06:00:00 08:00:00 12:00:00 24:00:00

    12