[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] Newby...If You are as I...(you poor unfortunate)



PureBytes Links

Trading Reference Links


Graham, nice tip. I never noticed favorites in help.
 
Gerard, believe it or not we are all very forgetful.  I force myself to read through all the functions on a regular basis to remember what I can do with AFL.
 
It's not as much fun as reading the Sports Illustrated Swimsuit issue, but I suppose the idea is to learn the functions, to program the grail, to make the money, to afford the swimsuit models : ))))
 
Kind Regards,
GaryGraham <gkavanagh@xxxxxxxxxxxxx> wrote:
Gerard, the other way is to use the Favorites tab within the help files. Iuse this to go quickly to the AFL lists, AFL reference manual etcWhen you find a useful page, add it to your favourites listCheers,Grahamhttp://groups.msn.com/ASXShareTradinghttp://groups.msn.com/FMSAustralia -----Original Message-----From: Gerard Carey [mailto:gcfinance@xxxxxxxxxxx] Sent: Thursday, 27 November 2003 12:09 PMTo: AB Yahoo groupSubject: [amibroker] Newby...If You are as I...(you poor unfortunate)Friend,If you are as I, Challenged IQ-ally, Memorially, Mathematically, Conceptually, To name but a few, Well this may interest you. You see I was damn sick of wasting time finding info. Continually
 hittingthe help button and ploughing thru page after page of the manual. Talk aboutfrustrating. Half the time I'd previously found what I was nowlooking for and not couldn't I remember it, I couldn't find it again!   A flash of inspiration suggested I use Indicator Builder to create a readilyaccessible source of stuff I regularly use.What you see underneath is a straight copy & paste from an IB pane of minenamed A INFO (that name keeps it at the top of the Indicators list).In my custom A INFO indicator I keep easy to get at;AFL numbers of the colours I use.AFL numbers of the chart styles I use.AFL formuae I can copy/paste until I get to remember them.All Kinds of other guff I consider useful. This is all arranged in descending order of useability/complication, for methat is. I mean when is a drongo like me ever gunna use;_TRACE   - print text to system debug viewer Yeah
 right.I dump stuff when I am finally able to remember it.NB.PLEASE don't do a straight copy/paste of my file (I sure as hell wouldn'ttrust me to be correct), but create your own. Your needs will be different. REGDS GERARD// A INFO// COLOURS5=green  19=darkgreen       4=red  24=darkred    6=blue  21=darkBlue   7=yellow  1=black    2=white  25=orange  28=Teal  38=Violet  // CHART STYLES1-line    4-thick    2-histogram    8-line with dots    16-no line   32-semi-log scale    64-candlestick    128-bar    256-styleNoDraw   512-staircase (square)    1024-middle dots for staircase    2048-norescale    4096-no value label   
 8192-point AND figure    16384-widehistogram    32768-styleOwnScale    65536-styleLeftAxisScale You can combine some styles but NOT all make sense, for example (64+1)(candlestick + line) will result in candlestick chart ( )// COPY / PASTE SAMPLES// To graph a (MA) Moving Average (6=Colour, 1=Chart style, see above)insert-   Plot(MA(C,30),"ma",6,1);   // To scan for a MA Crossover, insert- Buy=Cross(MA(Close,3),MA(Close,18));Sell=Cross(MA(Close,18),MA(Close,3));// To scan for an Indicator Cross, insert-Buy = Cross( RSI(), 30 );Sell = Cross( 70, RSI() );/*To add a Title, insert */   Title=Name()+ "Put name here";/*To increase the no of Graphs in a pane, insert */    MaxGraph=10; /*To squash graphs into Indicator pane, insert */    GraphXSpace=5;/*To add a Filter (Volume) to an Exploration,
 insert */    Filter =Volume > 500000;/*To add a Column to AA Exploration RESULTS, insert */  AddColumn( Close,"Closing price", 1.4 );/*To add FULL NAMES to AA Exploration RESULTS, insert */ AddColumn(C,"C"); AddTextColumn(FullName(),"NAME");/*To put an Indicator on main price chart. Right click on price chart selectedit formula AND paste your formula on the very top line above the//--Indicator-End-- line.  eg. */Plot( WMA( Close, 20 ), "WMA20", colorRed );/*To add a custom line to a graph, insert */    Plot(50,"My line",colorBlack);// AFL REFERENCE  // INDICATORSAccDist   - accumulation/distribution ADX       - average directional movement index ATR       - average True range  BBandBot - bottom bollinger band BBandTop - top bollinger band
 CCI       - commodity channel index Chaikin  - Chaikin oscillator MACD    - moving average convergence/Divergence MDI       - minus directional movement indicator (-DI)  MFI        - money flow index NVI        - negative Volume index OBV       - on balance Volume OscP      - price oscillator OscV      - Volume oscillator PDI        - plus directional movement indicator PVI        - positive Volume index RMI        - Relative Momentum Index ROC       - percentage rate of change RSI        - relative strength index
 RWI       - Random walk index RWIHi    - Random walk index of highs RWILo    - Random walk index of lows SAR        - parabolic stop-AND-reverse Signal      - MACD Signal line StochD     - stochastic slow %D StochK     - stochastic slow %K Trix         - triple exponential smoothed price Ultimate   - Ultimate oscillator // MOVING AVERAGES, SUMMATIONMA     - simple moving average EMA   - exponential moving average DEMA - double exponential moving average TEMA  - triple exponential moving average WMA   - weighted moving average Wilders - Wilder's smoothingAMA    - adaptive moving averageAMA2  - adaptive moving averageCum - cumulative
 Sum Sum - Sum data over specified number of bars // EXPLORATION / INDICATOR BUILDERAddColumn   - add numeric exploration column AddTextColumn   - add text exploration column EncodeColor  - encodes color for indicator Title GetChartID   - get current chart ID Param          - add user user-definable numeric parameter ParamColor   - add user user-definable color parameterParamStr      - add user user-definable string parameter Plot              - Plot indicator graph PlotGrid        - Plot horizontal grid line  PlotOHLC      - Plot custom OHLC chart PlotShapes    - plots arrows AND other shapes PlotVAPOverlay  - Plot Volume-At-Price overlay chart 
 SelectedValue  - retrieves value of the array at currently selectedDate/time point WriteIf          - commentary conditional text output WriteVal        - write number OR value of the array _N                - no text output // COMPOSITESAddToComposite  - add value to composite ticker  ADLine       - advance/decline line  AdvIssues  - advancing issues  AdvVolume - advancing issues Volume  DecIssues  - declining issues DecVolume - declining issues Volume  Trin            - traders (Arms) index UncIssues   - unchanged issues  UncVolume - unchaged issues Volume // REFERENCING OTHER SYMBOL
 DATAForeign           - access Foreign security data GetBaseIndex - retrieves symbol of relative strength base index  PlotForeign      - Plot Foreign security data RelStrength     - comparative relative strength // LOWEST/HIGHESTHHV           - Highest High value HHVBars     - bars since Highest High Highest       - Highest value HighestBars - bars since Highest value HighestSince - Highest value since condition met  HighestSinceBars - bars since Highest value since condition met  LLV              - Lowest Low value LLVBars       - bars since Lowest Low Lowest         - Lowest value
 LowestBars   - bars since Lowest LowestSince - Lowest value since condition met LowestSinceBars - BarsSince Lowest value since condition met  // BASIC PRICE PATTERN DETECTIONGapDown    - gap down GapUp        - gap up Inside         - Inside Day Outside       - Outside bar Peak           - Peak PeakBars     - bars since Peak Trough        -TroughTroughBars - bars since Trough Zig-zag indicator // INFORMATION/CATEGORIESFullName     - full Name of the symbolGetCategorySymbols - retrieves comma-separated list of symbols belonging togiven category (AFL 2.4) GetDatabaseName - retrieves folder Name of current database
 GroupID      - get group ID/Name IndustryID   - get industry ID / NameInWatchList  - watch list membership test MarketID     - market ID / Name Name          - ticker symbol SectorID      - get sector ID / Name// DATE/TIMEBarIndex     - get zero-based bar numberBeginValue  - Value of the array at the begin of the range  Date           - Date DateNum    - Date number DateTime    - retrieves encoded Date time  Day            - Day of Month  DayOfWeek - Day of week DayOfYear  - get ordinal number of Day in A Year EndValue    - value of the array at the begin of the selected range
 Hour           - get current bar's Hour Interval      - get bar Interval (in seconds)  Minute        - get current bar's Minute Month         - Month Now            - gets current system Date/time Second       - get current bar's Second TimeNum    - get current bar time  Year           - Year // MATH FUNCTIONSabs   - absolute value atan  - arc tan ceil    - ceil value cos    - cosine exp    - exponential function floor   - floor value frac    - fractional part int      - integer part
 log     - natural logarithm log10 - decimal logarithm Max   - maximum value of two numbers / arrays Min    - minimum value of two numbers / arrays Prec   - adjust number of decimal points of floating point number round - round number to nearest integer sin     - sine function sqrt    - square root // STATISTICAL FUNCTIONSCorrelation  - Correlation  LinearReg    - linear regression end-point LinRegIntercept - LinRegSlope - linear regression slopeRandom  - Random number StdErr    - standard error StDev   - standard deviationTSF      - time series forecast // STRING MANIPULATIONStrExtract - extracts given item (substring) from comma-separated string  StrLeft    - extracts the leftmost part
 StrLen    - string length  StrMid    - extracts part of the string StrRight  - extracts the rightmost part of the string // TRADING SYSTEM TOOLBOXAlertIf      - trigger alerts  ApplyStop - apply built-in stop BarsSince - bars since Cross       - crossover check Equity      - calculate Equity line ExRem     - remove excessive signals ExRemSpan - remove excessive signals spanning given number of bars Flip     - (AFL 1.5) Hold   - Hold the alert Signal IIf      - immediate if function LastValue   - last value of the array Optimize    - define optimization variable Ref            - reference past/future values of the array
 SetOption   - sets options in automatic analysis settings  SetTradeDelays - allows to control trade delays applied by the backtester ValueWhen        - get value of the array when condition met // MISCELLANEOUS FUNCTIONS#include   - preprocessor include command #pragma   - sets AFL pre-processor option  CreateObject         - create COM object CreateStaticObject - create static COM object  EnableScript          - enable scripting engine EnableTextOutput   - enables/disables text output in the Chart Commentarywindow  GetExtraData         - get extra data from external data source GetScriptObject      - get access to script COM object  IsEmpty  - empty value check 
 IsFinite    - check if value is NOT infinite  IsNan      - checks for NaN (NOT A number) IsNull      - check for Null (empty) value IsTrue     - True value (non-empty AND non-zero) check Nz           - Null (Null/Nan/Infinity) to zero Prefs       - retrieve preferences settings  SetBarsRequired - set number of previous AND future bars needed forscript/DLL to properly execute  Status     - get run-time AFL Status information Study      - reference hand-drawn Study Version    - get Version info  _TRACE   - print text to system debug viewer /* Gerard CareyLast altered:   12th Nov 2003 *//*xxxx end xxxx*/-- <A
 href="">http://www.fastmail.fm - One of many happy users:  http://www.fastmail.fm/docs/quotes.html------------------------ Yahoo! Groups Sponsor ---------------------~--> BuyInk Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printerat MyInks.com. Free s/h on orders $50 or more to the US & Canada.http://www.c1tracking.com/l.asp?cid=5511http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM---------------------------------------------------------------------~->Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to suggest@xxxxxxxxxxxxx-----------------------------------------Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
 href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check group FAQ at:http://groups.yahoo.com/group/amibroker/files/groupfaq.html Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to suggest@xxxxxxxxxxxxx-----------------------------------------Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
Do you Yahoo!?
Free Pop-Up Blocker - Get it now






Yahoo! Groups Sponsor


  ADVERTISEMENT 









Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.