Page 3 of 55 FirstFirst 1 2 3 4 5 13 53 ... LastLast
Results 21 to 30 of 546
Like Tree74Likes

Requests and Raw Ideas

This is a discussion on Requests and Raw Ideas within the General Discussion forums, part of the Trading Forum category; Hi Igorad. I don't remember have seen an indicator like AllBollingerBands. Do you have it? Can you make it? Regards....

      
   
  1. #21
    Junior Member
    Join Date
    Mar 2013
    Posts
    19
    Hi Igorad.

    I don't remember have seen an indicator like AllBollingerBands. Do you have it? Can you make it?

    Regards.

  2. #22
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Just some information about how to trade Pin Bar - read this post.

  3. #23
    Member
    Join Date
    Jul 2013
    Location
    A, A
    Posts
    57

    Need for help - modifying and indi

    Igor (or someone else )

    Can you help modifying my DT Lauer indi. I use this extensively, and have always wished for it to draw rectangles (high+low)
    from the candle instead of just a dot like now. Ref. image.
    Anyone?

    Requests and Raw Ideas-usdcadm30.png
    Attached Files Attached Files

  4. #24
    Senior Member levonisyas's Avatar
    Join Date
    Sep 2013
    Location
    Türkiye
    Posts
    122

    trend thrust indicator tti

    First of all thnx. for this great forum. i could not find requests so shared here.
    Anyone has coded the Trend Thrust Indicator (TTI) by Buff Pelz Dormeier

    https://www.bigmiketrading.com/ninja...cator-tti.html

    ''The Easy Language code was indeed provided by Dormeier and can be retrieved from technical.traders.com.
    The code for the Trend Thrust Indicator accesses an additional function BD.VWMA, which you did not include with your file. The full code is shown below.''
    inputs: price(close), Fastlen(12), Slowlen(26), W(9), volToday(true);
    variables: fastavg(0), slowavg(0), sprd(0), avgsprd(0), sLOW(0), vavg(0), FAST(0),
    Vfactor(0), IVfactor(0), m(0), sprdiff(0), mcad(0), VD(0);
    fastavg = bd.vwma(Price, FastLen, volToday);
    slowavg = bd.vwma(Price, slowLen, volToday);
    m = xaverage(close, fastlen) - xaverage(close, slowlen);

    if xaverage(volume,slowlen) <> 0 then
    Vfactor = (bd.vwma(volume,fastlen,voltoday)/xaverage(volume,slowlen))*10;
    if xaverage(volume,fastlen) <> 0 then
    IVfactor = (bd.vwma(volume,slowlen,voltoday)/xaverage(volume,fastlen))*10;
    if ivfactor <> 0 and vfactor <> 0 then
    FAST = FASTAVG/(VFACTOR/IVFACTOR);
    if ivfactor <> 0 and vfactor <> 0 then
    SLOW = (IVFACTOR/VFACTOR)* SLOWavg;

    sprd = (fast - slow);
    Vavg = BD.VWMA (vfactor,fastlen,voltoday)/xaverage (ivfactor,slowlen) *W;

    avgsprd = round (bd.vwma(sprd,vavg,voltoday),3);

    sprdiff = (sprd - avgsprd);
    mcad = xaverage((m),(w));

    vd = sprdiff-mcad;

    plot1 (sprd, "sprd");
    plot2 (avgsprd, "avg sprd");
    plot3 (vd, "Buff diff");

    VWMA function (volume-weighted simple moving average)

    [LegacyColorValue = true];

    {************************************************* **************************************
    // fileName: BD.VWMA
    // Logic by Buff Dormeier
    // Programming code written by:
    Fred G. Schutzman, CMT
    27 Briarwood Drive
    New City, NY 10956
    Tel: (914) 634-2978
    Fax: (914) 634-1890
    Email: FredSchutzman@attglobal.net
    Internet: www.fredschutzman.com
    // Function returns a Volume Weighted SMA
    // futures volume is always reported 1-day late
    // therefore, this function has the ability to calculate a MA with an offset of 1
    // Date last changed: January 30, 2000

    ************************************************** **************************************}

    Inputs: price(numericSeries), { data to be averaged; e.g. close }
    length(numericSimple), { length of moving average }
    volToday(trueFalse); { true = volume is available for today (e.g. stocks)
    false = volume is NOT available for today (e.g.futures) }

    Vars: beg(0), { days back to begin working with for average }
    sumOfVol(0), { sum of volume }
    vwPx(0), { volume weighted price }
    vwMa(0), { volume weighted moving average }
    counter(0); { counter }

    { initialize/reset first 4 variables }
    if currentBar = 1 then begin
    if volToday = true then
    beg = 0
    else if volToday = false then
    beg = 1;
    end;
    sumOfVol = 0;
    vwPx = 0;
    vwMa = 0;

    { update sumOfVol variable on each bar }
    for counter = beg to (length-1+beg) begin
    sumOfVol = sumOfVol + volume[counter];
    end;

    { update vwPx and vwMa variables on each bar }
    for counter = beg to (length-1+beg) begin
    if sumOfVol > 0 then
    vwPx = price[counter] * volume[counter] / sumOfVol;
    vwMa = vwMa + vwPx;
    end;

    { return the VWMA if enough data is present, else return 0 }
    if length >= 1 and volume[length-1+beg] > 0 then
    BD.VWMA = vwMa
    else
    BD.VWMA = 0;

  5. #25
    Senior Member levonisyas's Avatar
    Join Date
    Sep 2013
    Location
    Türkiye
    Posts
    122
    Dear igorad ur all type indicators so nice and wonderfull.
    all volume , all oscillator, all trend will be also nice, if u make.

  6. #26
    igorad
    Guest

    Trend Thrust Indicator

    Hi levonisyas,

    Please check out the TTI_v1(Trend Thrust Indicator) by Buff Pelz Dormeier. But here is a problem because I didn't find how this indicator looks like even after reading the corresponding chapter of his book "Investing with Volume Analysis".

    Code:
    extern int     TimeFrame             =   0;   //TimeFrame in min
    extern int     Price                 =   0;   //Price Mode (0...6)
    extern int     FastLength            =  12;   //Fast Period of smoothing
    extern int     SlowLength            =  26;   //Slow Period of smoothing
    extern int     SignalLength          =   9;   //Signal Period

    Attachment 2861

    Regards,
    Igor
    levonisyas likes this.

  7. #27
    Senior Member levonisyas's Avatar
    Join Date
    Sep 2013
    Location
    Türkiye
    Posts
    122
    Dear igor best coder that i see, thank u very much.
    %90 of people use tti as same as yours like Volume-Weighted MACD. But %10 use it at the main Windows seems like MA.
    is trendup/trenddown shows reverse?
    U did perfect. it is so enough for me. Again thank u very much.

  8. #28
    Administrator newdigital's Avatar
    Join Date
    Feb 2013
    Posts
    10,477
    Blog Entries
    2951
    Follow newdigital On Twitter Add newdigital on Facebook Add newdigital on Google+ Add newdigital on MySpace
    Add newdigital on Linkedin
    Just interesting website found to practise in forex : http://forex-game.net/forex-trading-game/
    Premium Trading Forum: subscription, public discussion and latest news
    Trading Forum wiki || MQL5 channel for the forum
    Trading blogs || My blog

  9. #29
    Senior Member levonisyas's Avatar
    Join Date
    Sep 2013
    Location
    Türkiye
    Posts
    122
    Hi igor
    Do u know Cumulative distribution of an indicator or can u make?
    EXP: forcing display MA to 0--100 value. Like RSI, SO etc.
    Cumulative distribution function - Wikipedia, the free encyclopedia
    P.S. MT4 draging the moving average to subwindow "Apply to:" and set to "First Indicator`s Data" can be a solution?
    Last edited by levonisyas; 10-30-2013 at 09:36 PM.

  10. #30
    Junior Member
    Join Date
    Aug 2013
    Posts
    5
    Hi.

    This is something I would appreciate coding. Maybe this could go on the Ehlers thread if you decide to code it. I have not seen it elsewhere.

    He mentions this, nearly as an afterthought, on page 212 of Rocket. I find it reasonably useful, and have modified it slightly - the 2*P - P(-1) speeds it up just a little without providing false signals as compared to the original.

    There are two triggers, his 4 weighted moving average, and mine, which is just if the signal is up or down today. Not much difference between the two. I like signals +1 and -1, as sometimes it is difficult to see if lines have crossed...

    In Metastock language, I have made it this. W is linear weighted moving average. MP() is your price 4, and Ref(MP(),-1) is previous bar. Pretty simple, yes?


    WMA1:=Mov(2*MP()-Ref(MP(),-1),7,W);
    WMA2:=Mov(WMA1,7,W);
    Predict:=2*WMA1-WMA2;
    Trigger:=Mov(predict,4,W);

    {alternative signal types - this is what I would like to see on the screen, either what I call "TR" or "zero"}

    TR:=If(trigger<predict,1,If(trigger>predict,-1,0));

    zero:=If(predict>Ref(predict,-1),1,If(predict<Ref(predict,-1),-1,0));

    That is just the signal. Entry is for people to be creative about. Anyway, as this is my first post I thought I'd start with something not too demanding (very basic!!) I hope.

    I have some other things, too - maybe sometime later.

    Regards, Lloyd

    ps - of course, W is just the suggested method of average, as is the time period and type of price etc.
    Last edited by Lloyd; 11-03-2013 at 03:45 PM. Reason: added a thought

Page 3 of 55 FirstFirst 1 2 3 4 5 13 53 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •