Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

aaa

Members
  • Content Count

    466
  • Joined

  • Last visited

Posts posted by aaa


  1. Hi LoneWolf

     

    The solution was hidden in my suggestion ( HeHeHe !!)

    and U've made good homework

     

    *****************

     

    I will not post any more Div indic than Sto + Rsi + MACD

     

    In fact I try 2 trade with the trend, not against it.

     

    Below is the Martyn Whittaker' logic of divergence

    Everybody can easily apply it 2 any kind of indicators in 3 steps

     

    1 Copy the entire Divergence code 2 your new div TrendLine indicator

    2 Put the code of your preferate indicator in My.Indicator variable

    3 Add personnal ideas 2 suit your way of Trading

     

    rgds

     

    aaa

     

    ***********************

     

    inputs:

    MyIndicator.Length(30),

     

    variables:

    My.Indicator(0),

     

    My.Indicator=RSI(Close,MyIndicator.Length);

     

    Condition1=Pivot(

    My.Indicator,Length,LeftStrength,RightStrength,1,-1,

    oPivotPrice1,oPivotBar1)<>-1 AND

     

    (oPivotBar1-RightStrength)=0;

     

    Condition2=Pivot(

    My.Indicator,,Length,LeftStrength,RightStrength,2,-1,

    oPivotPrice2,oPivotBar2)<>-1;

     

    If

    Condition1AND

    Condition2AND

    L[oPivotBar2]>=L[oPivotBar1]AND

    My.Indicator,[oPivotBar2]> My.Indicator,[oPivotBar1]then // Change the sign < divergence > hidden divergence

     

    etc..

     

    **************


  2. Multichart's Bug corrected

     

    :haha: w/o " banging my head here "

     

    ThanX TAMS 4 the anatomy lesson ( are U a kind of doctor ?)

     

    *******************

     

    PS I've putted the circled sticker on my pillow

     

    which is IMO the best place 2 resolve problem = sleeping good !!


  3. write out your thoughts step by step,

     

    Xcellent TAMS (as always) and so patient...

     

    It's good 2 follow your logic process 2 built an algorytm

     

    After it's a question of reading the EL manual, ain't it ?! ;)

     

    rgds


  4. Hi

     

    Following on the great work done by aaa on the divergence indicator;

     

    First of all thank you very much for the kind words,

     

    but I've done nothing =

     

    it is a 100% code from one of Martyn Whittaker' Xcellent 46 free tutorial

     

    martyn.whittaker@markplex.com

     

    ***********

     

    His site is a real gold mine 2 learn EL

     

    http://markplex.com/tutorials.php

     

     

     
    If 
    [u]Condition1[/u] and 
    [u]Condition2[/u] AND
    L[oPivotBar2] [b][u]>=[/u][/b] L[oPivotBar1]  AND 
    DToscK[oPivotBar2] [b][u]<[/u][/b] DToscK[oPivotBar1] 
    then 
    Value2 = TL_New(D[oPivotBar2], T[oPivotBar2],[b][u] L[oPivotBar2[/u][/b]], D[oPivotBar1], T[oPivotBar1], [u][b]L[oPivotBar1[/b][/u]]); 
    

     

     

    Have U tried 2 "reverse" the code or anything else ?

     

    When we post our personnal work ( even tho if it doesn't work ),

     

    and if there is a solution,

     

    they is always a kind coder 2 help us here.

     

    rgds


  5. Yes

     

    almost everything is possible in EasyLangage

     

    Try again or

     

    wait untill next WE

     

    I will add this feature 2 a new indicator

     

    rgds

     

    PS : Please, try 2 add a graphique with explanation on it when U ask something here ;

     

    It should B usefull also 2 give as much information as possible (mockup, links, PDF, etc...)

     

    And of course, if U find a solution it's kind 2 post it.

     

    It could B usefull 4 others

     

    ******************


  6. Hi

     

    Is there an other way than

     

    PlotPaintBar

     

    2 set ALL the backgroundcolor in a graph or in an indicator ?

     

    Like

     

    if condition1 then

    SetBackGroundColor( blue);

     

     

    *******************

    I've found only these functions in the manual

     

    GetBackgroundColor

     

    Returns an RGB color number or a legacy color value that correspond to the background color of the chart.

     

    *********************

     

    SetPlotBGColor

     

    Assigns a specified color to the cell bfor the indicated study plot for the duration of the current bar.

    Use of SetBGPlotColor is effective only for the Scanner.


  7. // RSI Divergence TrendLine

    // Author: MARKPLEX Code Divergence

    // http://markplex.com/tutorial4.php

    // version: 1.0

     

    // Author: aaa

    // version: 2.0

    // Date: 20100501

    // added:

    // divergence on top +

    // Line.Color.Top + Line.Color.Bot + Line.Size + Plot.RSI in inputs

     

    // Author: aaa

    // version: 2.01

    // Date: 20100515

    // added:

    // Alert + Line.Offset in inputs

     

    ***********************

     

    MACD Divergence TrendLine

    Here

     

    http://www.traderslaboratory.com/forums/f46/macd-divergence-trendline-7845.html

     

    MACD Divergence TrendLine Indicator (Only 4 Multicharts)

    Here

     

    http://www.traderslaboratory.com/forums/f46/macd-divergence-trendline-7845.html#post95841

     

    *********************

     

    Sto Divergence TrendLine

    Here

     

    http://www.traderslaboratory.com/forums/f46/stochastic-divergence-trendline-7244.html

     

    **********************

     

    attachment.php?attachmentid=21012&stc=1&d=1273914061

     

     

    Nota Bene

     

    RSI Divergence TrendLine Indicator.pla works ONLY with Multicharts

    RSI DIVERGENCE TRENDLINE.ELD

    RSI Divergence TrendLine.pla

    RSI Divergence TrendLine.txt

    RSI Divergence TrendLine Indicator.pla

    Snap6.jpg.5f50c8dcbf41b0935c35fd0b2703b6c1.jpg


  8. Back again...

     

    May B i was not clear...

     

    Here is TAMS Moving Average with extension

     

    plotted on both a graph and a MACD

     

    The only difference in the code is

     

    tl_new

     

    tl_new_self

     

    I'm still searching and your gentle advices 2 guide me are welcome at anytime

     

    rgds

     

    aaa

     

    attachment.php?attachmentid=21002&stc=1&d=1273855681

    Snap12.jpg.16beb15e5899013aa5f34a9c3c39c562.jpg


  9. Hi snowbird

     

    Smart idea 2 take position only in the direction of the trend

     

    Try this

     

    or post the code of your trend indicator

     

     
    condition98 = whatever 2 define the way of the trend U want ; // in your ex it should B Trend Dn
    condition99 = The opposite of condition 98;
    
    if condition98 then begin
    Code divergence up
    end;
    
    if condition99 then begin
    Code divergence dn
    end;
    


  10. Hi Jay

     

    but I have no experience in programming.

     

    TL is an Xcellent beginning of programming experience 4 willingness traders

     

    The MetaQuotes Language Editor is proberly simple

     

    probably not !? it depends of what U want 2 do with it.

     

    The program is free from many Forex brokers along with their data feeds.

     

    imo, the best & quickest way 2 ruin beginners with amazing leverage

     

    Would it be possible for you to give it a try, I'm sure lots of traders would appreciate it

     

    Sure they will if it's free !!!

     

    as Forex is the only simple way to make any real money today.

     

    Like Banks betting against euro and ruins 27 countries with 500 millions people after gouvernements have lent to these banks billions 2 save them from their greediness putting population in an incredible debt + unemployment + social revolt & death ?? :offtopic:

     

    rgds

     

    aaa


  11. TAMS !!!!!!!!!!!!!!

     

    I'm afraid that there is a missunderstood

     

    Please load my indicator on your chart

     

    Use a 1 mn resolution

     

    Wait

     

    &

     

    C

     

    ***************************

     

    I have 2 go now

     

    Would U mind 2 have a new fresh look on this thread 2morrow ??

     

    Have a nice day

     

    aaa

     

    PS I like your humour ;=)


  12. It's a code found on TL that works 100% (guaranteed) perfectly

     

    I suggest that U try with your code

     

    // TAMS Indicator Oblique

     

    And U'll C the same prblem

     

    I'm afraid that tl_new_self is bugged

     

    I guarantie that these codes works perfectly on a main chart like with an average


  13. U forgot that I'm a fan of your indicator TAMS !

     

    I've learned all from them !

     

    Sorry but B4 posting I've tried also your Obliq Line Xtension code with the same problem

     

    If U have time 2 load on your graph the MACD Xample U'll C that's there is a bug (?)

     

     
    inputs: FastLength( 2 ), SlowLength( 4 );
    variables: var0( 0 ) ;
    var0 = MACD( Close, FastLength, SlowLength ) ;
    Plot1( var0, "MACD" ) ;
    // TAMS Indicator Oblique
    
     variables:
     id.tl.Obl( -1 );
    
    if currentbar = 1  then
     id.tl.Obl = tl_new_self(date, time[1], var0[1], date, time, var0 );
    
      tl_setbegin(   id.tl.Obl, date, time[1], var0[1]);     
      tl_setend(    id.tl.Obl, date, time,    var0);     
      tl_setextright( id.tl.Obl, true); 
    
      tl_setcolor( id.tl.Obl, white  );
      tl_setsize(  id.tl.Obl, 1 );
    
    {
    // Indicator Horizontal
    variables: 
    Old.id.tl.Hor( 0 ),
    id.tl.Hor(  0 ),
    id.tl.Hor.ext( 0 );
    
    If TL_Exist(     Old.id.tl.Hor) then
     TL_Delete( Old.id.tl.Hor);   
    
    if lastbaronchart then
    begin
     id.tl.Hor.ext = tl_new_self(d, t, var0, d, t, var0);
     id.tl.Hor     = TL_SetExtRight( id.tl.Hor.ext , True );  
     Old.id.tl.Hor = id.tl.Hor.ext ; 
    end;
     tl_setsize(  id.tl.Hor.ext, 1 );
     tl_setcolor( id.tl.Hor.ext, white )
    
    }
    

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.