EasyLanguage Treasure Chest

Discussion in 'Trading Software' started by Tums, Nov 24, 2008.

Thread Status:
Not open for further replies.
  1.  
    #221     Feb 11, 2009
  2. harsh

    harsh

    Hi Tums;

    Multicharts plotted only one line for Market e motion indicator.i have 400 barback.Tried to change scale but doesn't show all lines.
     
    #222     Feb 12, 2009
  3. David99S

    David99S

    where to find the following functions:

    nutpstr
    curletstr

    thanks

    David
     
    #223     Feb 13, 2009
  4. David99S

    David99S

    Regarding previous post:

    these functions are called by the TPO (Market Profile) easylanguage on page 15 of this thread.

    Help will be appreciated.

    Thanks

    David
     
    #224     Feb 13, 2009
  5. Has anyone gotten the Suri HA bars to display properly in MC?

    I just get a bunch of MAs?


    Inititally, I think I remember plotting them on the black screen, and couldn't see it.

    Then I changed it to the white back drop, and I could see them. Now, for some reason i can't see anything?
     
    #225     Feb 14, 2009
  6. ----------------------------------------------------------------------------------

    Try this:


    // suri.HACandles


    // Original Code posted by SOLIDUS Nov. 05, 07:
    // Heikin-Ashi Method of Candles by deMicron (Suri Duddella)
    // http://www.surinotes.com


    inputs: UPcolor(green), DNcolor(red), WICKcolor(black), WICKwidth(1), BODYwidth(3);

    variables:
    color(0),
    BodySize(iff(bodywidth=2, 1, iff(bodywidth>4, 4, bodywidth) )),
    Outline(iff(bodysize=0, 2, iff(bodysize=1, 3, iff(bodysize=3, 4, 5))) ),
    colorU(UPcolor),
    colorD(DNcolor),
    colorW(WICKcolor) ;


    vars: haClose(0),haOpen(0),haHigh(0),haLow(0), CandleColor(0), CompBars(3);
    Var: DateC(0), TimeC(0),
    bOpen(0),bClose(0),bHigh(0),bLow(0);


    { Outlined Candles by Solidus

    pixel sizes of plot widths
    0 - 1px
    1 - 2
    2 - 3
    3 - 4
    4 - 6
    5 - 8
    6 - 14
    }

    { ------------------------- Revision 1 Aug 15 07 ------------------------------
    - Simplified coloring code for efficiency.
    - Removed Once command to permit use with pre-8.2 Tradestation.
    - Added efficiency fix so RGB color values as inputs need only calculate once on startup.
    }


    // Heikin-Ashi Candles by Suri Duddella (deMicron)

    if BarNumber = 1 then
    begin
    haOpen = open;
    haClose = (O+H+L+C)/4;
    haHigh = MaxList( high, haOpen, haClose);
    haLow = MinList( low, haOpen,haClose);
    end;

    if BarNumber > 1 then
    begin
    haClose = (O+H+L+C)/4;
    // haClose = (H+L+C)/3;
    haOpen = (haOpen [1] + haClose [1])/2 ;
    haHigh = MaxList(High, haOpen, haClose) ;
    haLow = MinList(Low, haOpen, haClose) ;

    if haClose > haOpen then
    Candlecolor = ColorU
    else
    Candlecolor = ColorD;

    for value1 = 1 to CompBars
    begin
    if haOpen <= MaxList(haOpen[value1],haClose[value1]) and
    haOpen >= MinList(haOpen[value1],haClose[value1]) and
    haClose <= MaxList(haOpen[value1],haClose[value1]) and
    haClose >= MinList(haOpen[value1],haClose[value1]) then
    Candlecolor = Candlecolor[value1];
    end;

    bOpen = haOpen;
    bClose = haClose;
    bHigh = haHigh;
    bLow = haLow;
    end;


    if bClose>bOpen then color=colorU else color=colorD;

    plot1(bClose,"c outline a",colorW,0,outline);
    plot2(bClose,"c outline b");
    plot3(bOpen,"o outline a",colorW,0,outline);
    plot4(bOpen,"o outline b");

    Plot5(bClose,"C",color,0,bodysize);
    Plot6(bOpen,"O");

    Plot7(bClose,"C outline",colorW,0,outline);
    Plot8(bOpen,"O outline");

    plot9(bHigh,"H",colorW,0,WICKwidth);
    plot10(bLow,"L");



    Hope it helps
     
    #226     Feb 14, 2009
  7. --------------------------------------------------------

    Despite the function the indicator gives a message - "compile failed" because:

    >>C1029: 'GetAppInfo' has not been declared.<<

    Could some one tell me what to do please?

    Thanks
     
    #227     Feb 22, 2009
  8. Thank you sir!

    But it still just plots a bunch of MA's on my chart. Nothing to do with changing the candles.

    Is there anything I need to do dto display them properly? Does the background need to be a certain color? Do I need to change the candles themselves to a specific color?
     
    #228     Feb 22, 2009
  9. ------------------------------------------------------------------

    I'm afraid I don't know.
    a good idea might be to ask TUMS for a hint or get in contact with SURI directly.
    As far as I recall he is a very pleasant person.

    BTW I like his version better than the standard version I have been using before.

    Good luck.

    GG
     
    #229     Feb 22, 2009
  10.  
    #230     Feb 22, 2009
Thread Status:
Not open for further replies.