100 ticks
Results 1 to 6 of 6

Thread: 100 ticks

  1. #1
    I am attempting to figure out how much time it has taken ( in time ) for the price to change 100 days (ticks)

    volume[] will provide me tick quantity

    exactly what I need is to set ibarshift = the pub ago

    anyone know the best way to achieve this... I was considering a counter that adds the ivolume() values and spits out when the value is gt; 100. But I cannot seem to get it to return the right value.... Any proposals?

  2. #2
    figured it out....


    PHP Code: <code><span style=�color: #000000�> <span style=�color: #0000BB�></span><span style=�color: #FF8000�>//settoNumberocks
    </span><span style=�color: #0000BB�>externintTickVar</span><span style=�color: #007700�>=</span><span style=�color: #0000BB�>100</span><span style=�color: #007700�>;
    </span><span style=�color: #FF8000�>//internalglobalvar...
    </span><span style=�color: #0000BB�>intVbars</span><span style=�color: #007700�>;

    </span><span style=�color: #FF8000�>//Volumebars
    </span><span style=�color: #0000BB�>doublepVol</span><span style=�color: #007700�>=</span><span style=�color: #0000BB�>0</span><span style=�color: #007700�>,</span><span style=�color: #0000BB�>mVol</span><span style=�color: #007700�>=</span><span style=�color: #0000BB�>0</span><span style=�color: #007700�>;
    for(</span><span style=�color: #0000BB�>intvcnt</span><span style=�color: #007700�>=</span><span style=�color: #0000BB�>0</span><span style=�color: #007700�>;</span><span style=�color: #0000BB�>mVol</span><span style=�color: #007700�>lt;</span><span style=�color: #0000BB�>TickVar</span><span style=�color: #007700�>;</span><span style=�color: #0000BB�>vcnt</span><span style=�color: #007700�> ){
    </span><span style=�color: #0000BB�>pVol</span><span style=�color: #007700�>=</span><span style=�color: #0000BB�>Volume</span><span style=�color: #007700�>Number 91;</span><span style=�color: #0000BB�>vcnt</span><span style=�color: #007700�>Number 93;;
    </span><span style=�color: #0000BB�>mVol</span><span style=�color: #007700�>=</span><span style=�color: #0000BB�>mVol</span><span style=�color: #007700�> </span><span style=�color: #0000BB�>pVol</span><span style=�color: #007700�>;
    if(</span><span style=�color: #0000BB�>mVol</span><span style=�color: #007700�>gt;</span><span style=�color: #0000BB�>TickVar</span><span style=�color: #007700�>)
    </span><span style=�color: #0000BB�>Vbars</span><span style=�color: #007700�>=</span><span style=�color: #0000BB�>vcnt</span><span style=�color: #007700�>;

    </span><span style=�color: #0000BB�></span> </span> </code> This will give you how many pubs it took to get the previous 100 ticks. . Or however many ticks you set TickVar into.... It is possible to then use Vbars as the period in your indior calculations and it'll figure out the indior predicated on ticks not time.... When times are volitle your indiors will become reactive, The end result is. And during slow periods your indiors will adjust accordingally...

  3. #3
    I really don't think Volume must do with tick significance, but rather the significance of intensity of the market. Volume is Volume indior's value.

    I think that the only way to get a tick chart is to catch them live because previous values of ticks aren't saved anywhere.

  4. #4
    Thats exactly what I thought too... but its incorrect. Amount in MT4 is simply the amount of ticks per candle

    double pillar []
    Series array which includes tick volumes of every bar of the current chart.

    Series array components are indexed in the reverse order, i.e., in the previous one to the initial one. The current bar that's the final in the array is indexed as 0. The oldest bar, the very first in the chart, is indexed as help://predefined_variables_Bars-1.

    See also help://series_iVolume.
    Dual iVolume( string symbol, int timeframe, int change )Returns Tick Volume value for the bar of indied symbol with interval and shift. If local history is vacant (not loaded), function returns 0.
    For the current chart, the information about bars tick volumes is in the predefined array named help://predefined_variables_Volume.


    It would be very usefull if MT4 had data on $ volume but it would be impossible since most MT4 brokers only have a handfull of charge lines. The sole data that the MT4 broker could yield is your volum ethat they do...

    Additionally if you detect tick volume varies from broker to broker

    that is a result of the way they around the Price and the amount of credit lines they have.... This is if they desired to really where they could get very shady.

  5. #5
    Intersting...

    that would be a handy tool.

    As for your code, it should operate on smaller time frames(greatest on 1M). The quantity on 1H on GBPJPY is similar to 300 /pub.

  6. #6
    While you are logged in ticks that occurred are only saved by mt4 , hence the reason mt4 interbar transactions are close to -5000% accurate.

    You could try reading the .fxt files from the /tester folder, that is the point where the ticks are stored.

    Mt4 was never made for ticks, so you are walking a rough route.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.