Simple Coding Help - No Promise.

Discussion in 'AmiBroker' started by Happy_Singh, Oct 3, 2013.

  1. Happy_Singh

    Happy_Singh Well-Known Member

    Joined:
    May 27, 2013
    Messages:
    1,438
    Likes Received:
    3,573
    Trophy Points:
    113
    Location:
    Here & Now :)
    Hello Friends

    I am starting this thread for helping anyone who requires small changes in AFLs or AFL coding done for small / simple requirements that can be clearly defined.

    What does not go is conversion . . . from Amibroker to anything else . . . or from anything else to Amibroker . . .

    Debugging requested for copy/paste AFLs, Please don't post huge AFLs with zillions of lines of code for debugging

    I will not be available for any conversions and I am not interested in debugging some-one else's copy/pasted work and lastly . . .
    Not interested in hacking/craking any ones work . . .

    Only if have a clearly definable task to be coded I maybe able to help . . . No Promises but will try within my limitations . . .


    As an example, recently one of our friends wanted a motivational message to be included in his Charts,
    I enjoyed doing that, as i could easily empathize with why he wanted that . . .


    Cheers

    :) Happy
     
  2. sumosanammain

    sumosanammain Well-Known Member

    Joined:
    Jul 25, 2009
    Messages:
    1,607
    Likes Received:
    2,248
    Trophy Points:
    113
    Hi, sent you a pm
     
  3. jamit_05

    jamit_05 Well-Known Member

    Joined:
    Nov 11, 2005
    Messages:
    6,177
    Likes Received:
    7,746
    Trophy Points:
    113
    A message on the Amibroker Chart....? Is that possible... that a neat trick. Could just post that one line of code... I will customize my message :)
     
  4. kumudhan

    kumudhan Well-Known Member

    Joined:
    Feb 7, 2012
    Messages:
    291
    Likes Received:
    252
    Trophy Points:
    63
    Location:
    THIRUVAIYARU,TAMILNADU.


    i got the answer.but the problem is i donno how to use this.can you pl explain how it can be done HAPPY?
     
    Happy_Singh likes this.
  5. Happy_Singh

    Happy_Singh Well-Known Member

    Joined:
    May 27, 2013
    Messages:
    1,438
    Likes Received:
    3,573
    Trophy Points:
    113
    Location:
    Here & Now :)
    Hi amit just check few of my previous posts you will find it, if you don't will post it here after hours :)


    Meanwhile have a suggestion for the message

    Happy
     
    aksoldier, augubhai and jamit_05 like this.
  6. Happy_Singh

    Happy_Singh Well-Known Member

    Joined:
    May 27, 2013
    Messages:
    1,438
    Likes Received:
    3,573
    Trophy Points:
    113
    Location:
    Here & Now :)
    Hello Friends

    I will prefer for the requirements to be posted here, if it is not top secret and cannot be shared lets do it here on the thread.

    Thanks

    :) Happy
     
    augubhai likes this.
  7. kumudhan

    kumudhan Well-Known Member

    Joined:
    Feb 7, 2012
    Messages:
    291
    Likes Received:
    252
    Trophy Points:
    63
    Location:
    THIRUVAIYARU,TAMILNADU.
    ....................
     
    met2, Cubt, VJAY and 2 others like this.
  8. gkpc

    gkpc Well-Known Member

    Joined:
    Sep 14, 2007
    Messages:
    1,313
    Likes Received:
    376
    Trophy Points:
    83
    Location:
    Jaipur
    There is some "magic" in Traderji Site ! Here people get enthused to help others !
    So nice of you Happy, surely a lot of people shall be made happy by your efforts! Thanks! :clapping: :clap: :thumb:
     
    healthraj, VJAY, jamit_05 and 2 others like this.
  9. Happy_Singh

    Happy_Singh Well-Known Member

    Joined:
    May 27, 2013
    Messages:
    1,438
    Likes Received:
    3,573
    Trophy Points:
    113
    Location:
    Here & Now :)
    Don't know about the magic, but i recently changed my primary intraday charts to the one posted by Pratap here on TJ . . . and i have been coding for years :D

    He must have spent 100s of hours developing those charts over a period of time . . . If we appreciate getting, then no harm in trying to give back a little . . ,

    Cheers

    :) Happy
     
  10. Happy_Singh

    Happy_Singh Well-Known Member

    Joined:
    May 27, 2013
    Messages:
    1,438
    Likes Received:
    3,573
    Trophy Points:
    113
    Location:
    Here & Now :)
    Message centered on to the chart and will be seen as background

    Code:
    GfxSetOverlayMode(1);
    GfxSelectFont("Comic Sans MS Bold", Status("pxheight")/15 );
    GfxSetTextAlign( 6 );// center alignment
    GfxSetTextColor( ColorRGB( 160, 160, 160 ) );
    GfxSetTextColor( ColorHSB( 160, 0, 151 ) );
    GfxSetBkMode(0); // transparent
    GfxTextOut( "- MUNNI HAI SIRF PAISEWALO KE  - :D", Status("pxwidth")/2, Status("pxheight")/3 );
    You can change the message, Font, size, color and even placement if you change the code a bit.

    :) Happy
     

Share This Page