![]() |
|
| Discuss AmiBroker formula Language at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Hi friends / moderator i am a kind of a silent observer on the board..i ... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#221
|
|||
|
|||
|
Hi friends / moderator
i am a kind of a silent observer on the board..i am using amibroker for some time . i am highly obliged to members out here for sharing the AFL's.I respect them a lot.. thanks to all In order to allow easier access to all the members ..could we place all the available AFLs in a database marked according to EOD or intraday.There is not need to paste the entire AFL..rather only links can be used.. Saurabh |
| Sponsored Links |
|
#222
|
|||
|
|||
|
Quote:
regards sikandar |
| The Following User Says Thank You to sikandar For This Useful Post: | ||
saurabhkurichh (23rd August 2008) | ||
|
#223
|
|||
|
|||
|
Hi
Please understand the request fully and then provide a solution, if possible. It is preferable to be silent, when no solution is available at ones end. Warm regards SRJC |
|
#224
|
|||
|
|||
|
Quote:
sikandar |
| The Following User Says Thank You to sikandar For This Useful Post: | ||
saurabhkurichh (23rd August 2008) | ||
|
#225
|
|||
|
|||
|
bhai log its ok yaar .. i understood that everthing is avaialble on the web..what i was just trying to do is
many people are not coding experts and many aer intraday traders , some are EOD traders , some are OI traders , some are pattern traders .. so if the site moderator can just to make a broad classification of the afls and group them in those folders.. I love the site and have learned a lot from the site.. u all are great...sikandasr bhai please do not feel bad |
|
#226
|
|||
|
|||
|
I have decided to give back to this site something that i have learnt ..we will try to make some small codes for commom things and try to anslyse the code .As many of us here are not coding experts but may be we can devote a small amout of time to learn
Saurabh add this line to the top of any AFL. click on the right..select parameters and play with colors Code is :- SetChartBkGradientFill( ParamColor("BgTop", ColorRGB( 172,172,172 )), ParamColor("BgBottom", ColorRGB( 172,172,172 )),ParamColor("titleblock",ColorRGB( 172,172,172 ))); Some analysis of the code used SYNTAX SetChartBkGradientFill( topcolor, bottomcolor, titlebkcolor = default ) Enables background gradient color fill in indicators. Please note that this is independent from chart background color (background color fills entire pane, gradient fill is only for actual chart interior, so axes area is not affected by gradient fill) topcolor - specifies top color of the gradient fill bottomcolor - specifies bottom color of the gradient fill titlebkcolor - (optional) the background color of title text. If not specified then top color is automatically used for title background. We wanted the colous to be under the parameters so we used "paramcolor", the "bgtop" would give a name under parameters window to the top colur similarly for "bgbottom", the ColorRGB( 172,172,172 ) would give us the box type thing to help us choose colurs. try it this way ..instead of the names of "bgtop" used used and "bgbottom " used ..try typing anything else ..hmmm may ur name or ur spouse name...that would give a kind of satisfaction to u all ![]() Thanks |
| The Following 2 Users Say Thank You to saurabhkurichh For This Useful Post: | ||
convertah1 (30th August 2008), shiree (13th September 2008) | ||
|
#227
|
|||
|
|||
|
did anyone try this code ??
|
|
#228
|
|||
|
|||
|
Yes my friend I am using all these. You too try. Very strange when someone is giving free you need to check if others have tried!
Regards Ken |
|
#229
|
|||
|
|||
|
For Colors in Ami i got this one from Net,(use it as reference only)
.................................................. ...................................... _SECTION_BEGIN("Color Display "); /* Color Display */ numbars = LastValue(Cum(Status("barvisible"))); X = IIf(numbars >= 56, floor(numbars / 56), 1); Plot( 20, "", int(Cum(1/X)%56 ), styleOwnScale | styleArea | styleNoLabel,0,100); Plot(28*X*sin(Cum(0.112/X)),"", SelectedValue(int(Cum(1/X)%56)),styleOwnScale | styleLine, -X*50, X*40); Plot(Cum(1)%(56*X) - 28*X,"num",SelectedValue(int(Cum(1/X)%56)),styleOwnScale | styleHistogram | styleNoLabel, -X*50, X*40); n = SelectedValue(int(Cum(1/X)%56)); colorstring = WriteIf(n ==0, "colorCustom1 - number 0", WriteIf(n ==1, "colorCustom2 - number 1", WriteIf(n ==2, "colorCustom3 - number 2", WriteIf(n ==3, "colorCustom4 - number 3", WriteIf(n ==4, "colorCustom5 - number 4", WriteIf(n ==5, "colorCustom6 - number 5", WriteIf(n ==6, "colorCustom7 - number 6", WriteIf(n ==7, "colorCustom8 - number 7", WriteIf(n ==8, "colorCustom9 - number 8", WriteIf(n ==9, "colorCustom10 - number 9", WriteIf(n ==10, "colorCustom11 - number 10", WriteIf(n ==11, "colorCustom12 - number 11", WriteIf(n ==12, "colorCustom13 - number 12", WriteIf(n ==13, "colorCustom14 - number 13", WriteIf(n ==14, "colorCustom15 - number 14", WriteIf(n ==15, "colorCustom16 - number 15", WriteIf(n ==16, "colorBlack - number 16", WriteIf(n ==17, "colorBrown - number 17", WriteIf(n ==18, "colorDarkOliveGreen - number 18", WriteIf(n ==19, "colorDarkGreen - number 19", WriteIf(n ==20, "colorDarkTeal - number 20", WriteIf(n ==21, "colorDarkBlue - number 21", WriteIf(n ==22, "colorIndigo - number 22", WriteIf(n ==23, "colorDarkGrey - number 23", WriteIf(n ==24, "colorDarkRed - number 24", WriteIf(n ==25, "colorOrange - number 25", WriteIf(n ==26, "colorDarkYellow - number 26", WriteIf(n ==27, "colorGreen - number 27", WriteIf(n ==28, "colorTeal - number 28", WriteIf(n ==29, "colorBlue - number 29", WriteIf(n ==30, "colorBlueGrey - number 30", WriteIf(n ==31, "colorGrey40 - number 31", WriteIf(n ==32, "colorRed - number 32", WriteIf(n ==33, "colorLightOrange - number 33", WriteIf(n ==34, "colorLime - number 34", WriteIf(n ==35, "colorSeaGreen - number 35", WriteIf(n ==36, "colorAqua - number 36", WriteIf(n ==37, "colorLightBlue - number 37", WriteIf(n ==38, "colorViolet - number 38", WriteIf(n ==39, "colorGrey50 - number 39", WriteIf(n ==40, "colorPink - number 40", WriteIf(n ==41, "colorGold - number 41", WriteIf(n ==42, "colorYellow - number 42", WriteIf(n ==43, "colorBrightGreen - number 43", WriteIf(n ==44, "colorTurquoise - number 44", WriteIf(n ==45, "colorSkyblue - number 45", WriteIf(n ==46, "colorPlum - number 46", WriteIf(n ==47, "colorLightGrey - number 47", WriteIf(n ==48, "colorRose - number 48", WriteIf(n ==49, "colorTan - number 49", WriteIf(n ==50, "colorLightYellow - number 50", WriteIf(n ==51, "colorPaleGreen - number 51", WriteIf(n ==52, "colorPaleTurquoise - number 52", WriteIf(n ==53, "colorPaleBlue - number 53", WriteIf(n ==54, "colorLavender - number 54", WriteIf(n ==55, "colorWhite - number 55", "")))))))))))))))))))))))))))))))))))))))))))))))) )))))))); Title = EncodeColor(n)+"Bars per Color = "+X+ " The current selection is "+ColorString; _SECTION_END(); |
| The Following User Says Thank You to uasish For This Useful Post: | ||
shiree (13th September 2008) | ||
|
#230
|
|||
|
|||
|
HI ken sir, thanks for ur comment
.. i took the code from the net and read amibroker dunctin reference to know more ant it.. and shared it here.. Since no one replied to asked if anyone had tried ....Saurabh |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads for: AmiBroker formula Language
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help on formula | cmlee | MetaStock | 23 | 8th October 2007 07:55 PM |
| Metastock ,Metatrader & Amibroker indicator formula | saji oommen | MetaStock | 0 | 4th June 2006 06:35 PM |
| Metastock language help | Ropewalker | MetaStock | 4 | 1st November 2005 09:16 PM |
| TradeStation & MetaStock Formula Language | bikertrader | MetaStock | 4 | 10th December 2004 01:50 PM |
Indemnity, Disclaimer & Disclosure
Notice:
• By visiting Traderji.com you indicate your acceptance of our Forum
Rules Disclaimer & Disclosure and indemnify Traderji.com, its
associates and related parties of all claims howsoever resulting from
the usage of the forum.
• Disclaimer: Trading or investing in stocks & commodities
is a high risk activity. Any action you choose to take in the markets
is totally your own responsibility. Traderji.com will not be liable for
any, direct or indirect, consequential or incidental damages or loss arising out of the use of this information.
• Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein.
The writers may or may not be trading in the securities mentioned.
• All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy of information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. If you find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.