UltraEdit editor highlight wordfile.afl
上传用户:shiqiang
上传日期:2009-06-12
资源大小:1289k
文件大小:11k
源码类别:

金融证券系统

开发平台:

Others

  1. //------------------------------------------------------------------------------
  2. //
  3. //  Formula Name:    UltraEdit editor highlight wordfile
  4. //  Author/Uploader: Dave Merrill 
  5. //  E-mail:          
  6. //  Date/Time Added: 2004-11-15 13:57:33
  7. //  Origin:          Ported to UltraEdit from my update of Geoff Mulhall's original ConTEXT version in the library.
  8. //  Keywords:        UltraEdit editor highlight wordfile
  9. //  Level:           semi-advanced
  10. //  Flags:           system,exploration,indicator,commentary,function
  11. //  Formula URL:     http://www.amibroker.com/library/formula.php?id=404
  12. //  Details URL:     http://www.amibroker.com/library/detail.php?id=404
  13. //
  14. //------------------------------------------------------------------------------
  15. //
  16. //  UltraEdit is a full-featured shareware programmer's editor. This file
  17. //  teaches it AFL's keywords, so it can color, format, captitalize, and
  18. //  auto-complete them like AmiBroker does. I think it's up to date as of
  19. //  AmiBroker version 4.63.1 Beta.
  20. //
  21. //  I often keep my standard AFL #include file open in it while working in AB.
  22. //  Try showing the function list in UltraEdit with an AFL file open. This
  23. //  wordfile should let UE find all your functions and procedures, so you can
  24. //  see their parameters or navigate quickly to them.
  25. //
  26. //  UltraEdit is available at http://www.ultraedit.com.
  27. //
  28. //  HELP WANTED!
  29. //
  30. //  Since there doesn't appear to be any direct way to capture all the keywords
  31. //  used by the current version of AB, maintenance of this file is dependant on
  32. //  someone noticing missing items. So, any additions and corrections are most
  33. //  welcome (:-). Please write directly to dmerrill at usa dot net, in case I
  34. //  don't come back here right away.
  35. //
  36. //------------------------------------------------------------------------------
  37. /L20"AFL" Line Comment = // Block Comment On = /* Block Comment Off = */ Escape Char =  File Extensions = AFL
  38. /Delimiters = ~!@%^&*()-+=|/{}[]:;"'<> , .?
  39. /Function String = "%function^([~^{]+)"
  40. /Function String 1 = "%procedure^([~^{]+)"
  41. /Indent Strings = "{"
  42. /Unindent Strings = "}"
  43. /C1"Logical"
  44. AND
  45. False
  46. NOT
  47. Null
  48. OR
  49. True
  50. /C2"Flow of control, scope"
  51. do
  52. else
  53. for
  54. function
  55. global
  56. if
  57. local
  58. procedure
  59. return
  60. while
  61. /C3"Preprocessor"
  62. #include
  63. #pragma
  64. /C4"Built-in function"
  65. ADLine
  66. ADX
  67. AMA
  68. AMA2
  69. ATR
  70. AccDist
  71. AddColumn
  72. AddTextColumn
  73. AddToComposite
  74. AdvIssues
  75. AdvVolume
  76. AlertIf
  77. ApplyStop
  78. BBandBot
  79. BBandTop
  80. BarIndex
  81. BarsSince
  82. BeginValue
  83. CCI
  84. CategoryAddSymbol
  85. CategoryGetName
  86. CategoryGetSymbols
  87. CategoryRemoveSymbol
  88. Chaikin
  89. ClipboardGet
  90. ClipboardSet
  91. Correlation
  92. CreateObject
  93. CreateStaticObject
  94. Cross
  95. Cum
  96. DEMA
  97. Date
  98. DateNum
  99. DateTime
  100. Day
  101. DayOfWeek
  102. DayOfYear
  103. DecIssues
  104. DecVolume
  105. Divergence
  106. EMA
  107. EnableRotationalTrading
  108. EnableScript
  109. EnableTextOutput
  110. EncodeColor
  111. EndValue
  112. Equity
  113. ExRem
  114. ExRemSpan
  115. Flip
  116. Foreign
  117. FullName
  118. GapDown
  119. GapUp
  120. GetBaseIndex
  121. GetCategorySymbols
  122. GetChartID
  123. GetDatabaseName
  124. GetExtraData
  125. GetOption
  126. GetRTData
  127. GetScriptObject
  128. GetTradingInterface
  129. GroupID
  130. HHV
  131. HHVBars
  132. Highest
  133. HighestBars
  134. HighestSince
  135. HighestSinceBars
  136. Hold
  137. Hour
  138. IIf
  139. InWatchList
  140. IndustryID
  141. Inside
  142. Interval
  143. IsContinuous
  144. IsEmpty
  145. IsFavorite
  146. IsFinite
  147. IsIndex
  148. IsNan
  149. IsNull
  150. IsTrue
  151. LLV
  152. LLVBars
  153. LastValue
  154. LinRegIntercept
  155. LinRegSlope
  156. LineArray
  157. LinearReg
  158. Lowest
  159. LowestBars
  160. LowestSince
  161. LowestSinceBars
  162. MA
  163. MACD
  164. MDI
  165. MFI
  166. MarketID
  167. Max
  168. Median
  169. Min
  170. Minute
  171. Month
  172. NVI
  173. Name
  174. NoteGet
  175. NoteSet
  176. Now
  177. NumToStr
  178. Nz
  179. OBV
  180. Optimize
  181. OscP
  182. OscV
  183. Outside
  184. PDI
  185. PVI
  186. Param
  187. ParamColor
  188. ParamDate
  189. ParamField
  190. ParamList
  191. ParamStr
  192. ParamStyle
  193. ParamTime
  194. ParamToggle
  195. ParamTrigger
  196. Peak
  197. PeakBars
  198. Percentile
  199. Plot
  200. PlotForeign
  201. PlotGrid
  202. PlotOHLC
  203. PlotShapes
  204. PlotVAPOverlay
  205. Prec
  206. Prefs
  207. RMI
  208. ROC
  209. RSI
  210. RSIa
  211. RWI
  212. RWIHi
  213. RWILo
  214. Random
  215. Ref
  216. RelStrength
  217. RestorePriceArrays
  218. SAR
  219. Second
  220. SectorID
  221. SelectedValue
  222. SetBarsRequired
  223. SetChartOptions
  224. SetForeign
  225. SetFormulaName
  226. SetOption
  227. SetTradeDelays
  228. Signal
  229. StDev
  230. StaticVarGet
  231. StaticVarGetText
  232. StaticVarSet
  233. StaticVarSetText
  234. Status
  235. StdErr
  236. StochD
  237. StochK
  238. StrExtract
  239. StrFind
  240. StrFormat
  241. StrLeft
  242. StrLen
  243. StrMid
  244. StrRight
  245. StrToNum
  246. Study
  247. Sum
  248. TEMA
  249. TSF
  250. TimeFrameCompress
  251. TimeFrameExpand
  252. TimeFrameGetPrice
  253. TimeFrameRestore
  254. TimeFrameSet
  255. TimeNum
  256. Trin
  257. Trix
  258. Trough
  259. TroughBars
  260. Ultimate
  261. UncIssues
  262. UncVolume
  263. ValueWhen
  264. VarGet
  265. VarSet
  266. Version
  267. WMA
  268. Wilders
  269. WriteIf
  270. WriteVal
  271. Year
  272. Zig
  273. _DEFAULT_NAME()
  274. _N
  275. _PARAM_VALUES 
  276. _SECTION_BEGIN()
  277. _SECTION_END()
  278. _SECTION_NAME()
  279. _TRACE
  280. abs
  281. acos
  282. atan
  283. ceil
  284. cos
  285. exp
  286. fclose
  287. fdelete
  288. feof
  289. fgets
  290. floor
  291. fmkdir
  292. fopen
  293. fputs
  294. frac
  295. frmdir
  296. int
  297. log
  298. log10
  299. printf
  300. round
  301. sign
  302. sin
  303. sqrt
  304. tan
  305. /C5"Reserved variable"
  306. Avg
  307. BarCount
  308. Buy
  309. BuyPrice
  310. C
  311. Close
  312. Column0
  313. Column0Format
  314. Column0
  315. Column0Format
  316. Column0Name
  317. Column1
  318. Column1Format
  319. Column1Name
  320. Column2
  321. Column2Format
  322. Column2Name
  323. Column3
  324. Column3Format
  325. Column3Name
  326. Column4
  327. Column4Format
  328. Column4Name
  329. Column5
  330. Column5Format
  331. Column5Name
  332. Column6
  333. Column6Format
  334. Column6Name
  335. Column7
  336. Column7Format
  337. Column7Name
  338. Column8
  339. Column8Format
  340. Column8Name
  341. Column9
  342. Column9Format
  343. Column9Name
  344. Column10
  345. Column10Format
  346. Column10Name
  347. Column11
  348. Column11Format
  349. Column11Name
  350. Column12
  351. Column12Format
  352. Column12Name
  353. Column13
  354. Column13Format
  355. Column13Name
  356. Column14
  357. Column14Format
  358. Column14Name
  359. Column15
  360. Column15Format
  361. Column15Name
  362. Column16
  363. Column16Format
  364. Column16Name
  365. Column17
  366. Column17Format
  367. Column17Name
  368. Column18
  369. Column18Format
  370. Column18Name
  371. Column19
  372. Column19Format
  373. Column19Name
  374. Column20
  375. Column20Format
  376. Column20Name
  377. Column21
  378. Column21Format
  379. Column21Name
  380. Column22
  381. Column22Format
  382. Column22Name
  383. Column23
  384. Column23Format
  385. Column23Name
  386. Column24
  387. Column24Format
  388. Column24Name
  389. Column25
  390. Column25Format
  391. Column25Name
  392. Column26
  393. Column26Format
  394. Column26Name
  395. Column27
  396. Column27Format
  397. Column27Name
  398. Column28
  399. Column28Format
  400. Column28Name
  401. Column29
  402. Column29Format
  403. Column29Name
  404. Cover
  405. CoverPrice
  406. Exclude
  407. Filter
  408. Graph0
  409. Graph0BarColor
  410. Graph0Color
  411. Graph0High
  412. Graph0Low
  413. Graph0Max
  414. Graph0Min
  415. Graph0Name
  416. Graph0Open
  417. Graph0Style
  418. Graph1
  419. Graph1BarColor
  420. Graph1Color
  421. Graph1High
  422. Graph1Low
  423. Graph1Max
  424. Graph1Min
  425. Graph1Name
  426. Graph1Open
  427. Graph1Style
  428. Graph2
  429. Graph2BarColor
  430. Graph2Color
  431. Graph2High
  432. Graph2Low
  433. Graph2Max
  434. Graph2Min
  435. Graph2Name
  436. Graph2Open
  437. Graph2Style
  438. Graph3
  439. Graph3BarColor
  440. Graph3Color
  441. Graph3High
  442. Graph3Low
  443. Graph3Max
  444. Graph3Min
  445. Graph3Name
  446. Graph3Open
  447. Graph3Style
  448. Graph4
  449. Graph4BarColor
  450. Graph4Color
  451. Graph4High
  452. Graph4Low
  453. Graph4Max
  454. Graph4Min
  455. Graph4Name
  456. Graph4Open
  457. Graph4Style
  458. Graph5
  459. Graph5BarColor
  460. Graph5Color
  461. Graph5High
  462. Graph5Low
  463. Graph5Max
  464. Graph5Min
  465. Graph5Name
  466. Graph5Open
  467. Graph5Style
  468. Graph6
  469. Graph6BarColor
  470. Graph6Color
  471. Graph6High
  472. Graph6Low
  473. Graph6Max
  474. Graph6Min
  475. Graph6Name
  476. Graph6Open
  477. Graph6Style
  478. Graph7
  479. Graph7BarColor
  480. Graph7Color
  481. Graph7High
  482. Graph7Low
  483. Graph7Max
  484. Graph7Min
  485. Graph7Name
  486. Graph7Open
  487. Graph7Style
  488. Graph8
  489. Graph8BarColor
  490. Graph8Color
  491. Graph8High
  492. Graph8Low
  493. Graph8Max
  494. Graph8Min
  495. Graph8Name
  496. Graph8Open
  497. Graph8Style
  498. Graph9
  499. Graph9BarColor
  500. Graph9Color
  501. Graph9High
  502. Graph9Low
  503. Graph9Max
  504. Graph9Min
  505. Graph9Name
  506. Graph9Open
  507. Graph9Style
  508. Graph10
  509. Graph10BarColor
  510. Graph10Color
  511. Graph10High
  512. Graph10Low
  513. Graph10Max
  514. Graph10Min
  515. Graph10Name
  516. Graph10Open
  517. Graph10Style
  518. Graph11
  519. Graph11BarColor
  520. Graph11Color
  521. Graph11High
  522. Graph11Low
  523. Graph11Max
  524. Graph11Min
  525. Graph11Name
  526. Graph11Open
  527. Graph11Style
  528. Graph12
  529. Graph12BarColor
  530. Graph12Color
  531. Graph12High
  532. Graph12Low
  533. Graph12Max
  534. Graph12Min
  535. Graph12Name
  536. Graph12Open
  537. Graph12Style
  538. Graph13
  539. Graph13BarColor
  540. Graph13Color
  541. Graph13High
  542. Graph13Low
  543. Graph13Max
  544. Graph13Min
  545. Graph13Name
  546. Graph13Open
  547. Graph13Style
  548. Graph14
  549. Graph14BarColor
  550. Graph14Color
  551. Graph14High
  552. Graph14Low
  553. Graph14Max
  554. Graph14Min
  555. Graph14Name
  556. Graph14Open
  557. Graph14Style
  558. Graph15
  559. Graph15BarColor
  560. Graph15Color
  561. Graph15High
  562. Graph15Low
  563. Graph15Max
  564. Graph15Min
  565. Graph15Name
  566. Graph15Open
  567. Graph15Style
  568. Graph16
  569. Graph16BarColor
  570. Graph16Color
  571. Graph16High
  572. Graph16Low
  573. Graph16Max
  574. Graph16Min
  575. Graph16Name
  576. Graph16Open
  577. Graph16Style
  578. Graph17
  579. Graph17BarColor
  580. Graph17Color
  581. Graph17High
  582. Graph17Low
  583. Graph17Max
  584. Graph17Min
  585. Graph17Name
  586. Graph17Open
  587. Graph17Style
  588. Graph18
  589. Graph18BarColor
  590. Graph18Color
  591. Graph18High
  592. Graph18Low
  593. Graph18Max
  594. Graph18Min
  595. Graph18Name
  596. Graph18Open
  597. Graph18Style
  598. Graph19
  599. Graph19BarColor
  600. Graph19Color
  601. Graph19High
  602. Graph19Low
  603. Graph19Max
  604. Graph19Min
  605. Graph19Name
  606. Graph19Open
  607. Graph19Style
  608. GraphXSpace
  609. GraphZOrder
  610. H
  611. High
  612. L
  613. Low
  614. MarginDeposit
  615. MaxGraph
  616. NumColumns
  617. O
  618. OI
  619. Open
  620. OpenInt
  621. PointValue
  622. PositionScore
  623. PositionSize
  624. RoundLotSize
  625. Sell
  626. SellPrice
  627. Short
  628. ShortPrice
  629. TickSize
  630. Title
  631. V
  632. Volume
  633. /C6"Built-in constant"
  634. atcFlagCompositeGroup
  635. atcFlagDefaults
  636. atcFlagDeleteValues
  637. atcFlagEnableInBacktest
  638. atcFlagEnableInExplore
  639. atcFlagResetValues
  640. atcFlagTimeStamp
  641. chartShowDates
  642. categoryFavorite
  643. categoryGroup
  644. categoryIndex
  645. categoryIndustry
  646. categoryMarket
  647. categorySector
  648. categoryWatchlist
  649. chartLogarithmic
  650. chartShowArrows
  651. colorAqua
  652. colorBlack
  653. colorBlue
  654. colorBlueGrey
  655. colorBrightGreen
  656. colorBrown
  657. colorCustom1
  658. colorCustom10
  659. colorCustom11
  660. colorCustom12
  661. colorCustom13
  662. colorCustom14
  663. colorCustom15
  664. colorCustom16
  665. colorCustom2
  666. colorCustom3
  667. colorCustom4
  668. colorCustom5
  669. colorCustom6
  670. colorCustom7
  671. colorCustom8
  672. colorCustom9
  673. colorCycle
  674. colorDarkBlue
  675. colorDarkGreen
  676. colorDarkGrey
  677. colorDarkOliveGreen
  678. colorDarkRed
  679. colorDarkTeal
  680. colorDarkYellow
  681. colorDefault
  682. colorGold
  683. colorGreen
  684. colorGrey40
  685. colorGrey50
  686. colorIndigo
  687. colorLavender
  688. colorLightBlue
  689. colorLightGrey
  690. colorLightOrange
  691. colorLightYellow
  692. colorLime
  693. colorOrange
  694. colorPaleBlue
  695. colorPaleGreen
  696. colorPaleTurquoise
  697. colorPink
  698. colorPlum
  699. colorRed
  700. colorRose
  701. colorSeaGreen
  702. colorSkyblue
  703. colorTan
  704. colorTeal
  705. colorTurquoise
  706. colorViolet
  707. colorWhite
  708. colorYellow
  709. compressHigh
  710. compressLast
  711. compressLow
  712. compressOpen
  713. compressVolume
  714. expandFirst
  715. expandLast
  716. expandPoint
  717. formatChar
  718. formatDateTime
  719. in15Minute
  720. in1Minute
  721. in5Minute
  722. inDaily
  723. inHourly
  724. inMonthly
  725. inWeekly
  726. maskAll
  727. maskDefault
  728. maskHistogram
  729. maskPrice
  730. scoreNoRotate
  731. shapeCircle
  732. shapeDigit0
  733. shapeDigit1
  734. shapeDigit2
  735. shapeDigit3
  736. shapeDigit4
  737. shapeDigit5
  738. shapeDigit6
  739. shapeDigit7
  740. shapeDigit8
  741. shapeDigit9
  742. shapeDownArrow
  743. shapeDownTriangle
  744. shapeHollowCircle
  745. shapeHollowDownArrow
  746. shapeHollowDownTriangle
  747. shapeHollowSmallCircle
  748. shapeHollowSmallDownTriangle
  749. shapeHollowSmallSquare
  750. shapeHollowSmallUpTriangle
  751. shapeHollowSquare
  752. shapeHollowStar
  753. shapeHollowUpArrow
  754. shapeHollowUpTriangle
  755. shapeNone
  756. shapePositionAbove
  757. shapeSmallCircle
  758. shapeSmallDownTriangle
  759. shapeSmallSquare
  760. shapeSmallUpTriangle
  761. shapeSquare
  762. shapeStar
  763. shapeUpArrow
  764. shapeUpTriangle
  765. styleArea
  766. styleBar
  767. styleCandle
  768. styleDashed
  769. styleDots
  770. styleHidden
  771. styleHistogram
  772. styleLeftAxisScale
  773. styleLine
  774. styleNoDraw
  775. styleNoLabel
  776. styleNoLine
  777. styleNoRescale
  778. styleNoTitle
  779. styleOwnScale
  780. stylePointAndFigure
  781. styleStaircase
  782. styleSwingDots
  783. styleThick