Meta Trader

MetaQuotes Language 4 (MQL4) is a new built-in language forprogramming of trading strategies. This language allows to createyour own Expert Advisors that make trading management automated andare perfectly suitable for implementing of one's own tradestrategies. Besides, one can use MQL4 for creation of one's ownCustom Indicators, Scripts, and Libraries.

A large amount of functions necessary for analysis of thecurrent and previously income quotes, as well as basic arithmeticand logic operations are included in MQL4 structure. There are alsobasic indicators built in and commands of order placement andcontrol.

The MetaEditor 4 (text editor) that highlights differentconstructions of MQL4 language is used for writing the programcode. It helps users to orientate themselves in the expert systemtext quite easily. We use MetaQuotes Language Dictionary as a HelpSystem for MQL4 language. An abridged guide contains functionsdivided into categories, operations, reserved words, and otherlanguage constructions and allows finding the description of everyelement we use.

Programs written in MetaQuotes Language 4 have differentfeatures and purposes:

  • Expert Advisor is a mechanical trading system(MTS) linked up to a certain chart. An Advisor starts to run withevery incoming tick for a given symbol. The Advisor will not belaunched for a new, tick if it is processing the previous one atthis moment (i.e., the Advisor has not completed its operationyet). The Advisor can both inform you about a possibility to tradeand trade at an account automatically sending orders directly tothe trade server. Like most trading systems, the terminal supportstesting strategies on history data with displaying tradingin-and-out points in the chart.
    Experts are stored in terminal_directory\experts.

  • Custom Indicator is a technical indicatorwritten independently in addition to those already integrated intothe client terminal. Like built-in indicators, they cannot tradeautomatically and are intended for implementing of analyticalfunctions only.
    Custom Indicators are stored interminal_directory\experts\indicators.

  • Script is a program intended for a singleexecution of some actions. Unlike Expert Advisors, Scripts are notrun tickwise, but on request.
    Scripts are stored interminal_dictionary\experts\scripts.

  • Library is a set of custom functions containingprograms most frequently used. Libraries cannot start execution byitself.
    Libraries are recommended to be stored interminal_directory\experts\libraries.

  • Included file is a source text of the mostfrequently used blocks of custom programs. Such files can beincluded into the source texts of experts, scripts, customindicators, and libraries at the compiling stage. The use ofincluded files is more preferable than the use of libraries becauseof additional burden occurring at calling library functions.
    Included files are recommended to be stored interminal_directory\experts\include


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
trader_ppo是一个交易指标中的一种类型——价格震荡百分比指标(Price Oscillator,简称PPO)。它是用来衡量价格短期和长期趋势差异的一种技术工具。 具体来说,trader_ppo由两条线组成,分别是PPO线和信号线。PPO线是通过计算两个不同时间周期(通常为12天和26天)的指数移动平均线(EMA)之间的百分比差值得出的。这个百分比差值可以反映出价格短期和长期趋势之间的差异程度。信号线则是PPO线的9天EMA。它们的交叉和相对位置可以提供买入和卖出信号。 当PPO线从下方向上穿过信号线时,被视为买入信号,表明市场可能会上涨;而当PPO线从上方向下穿过信号线时,被视为卖出信号,预示着市场可能下跌。 trader_ppo广泛应用于股票、商品和外汇等市场,是量化交易和技术分析中常用的指标之一。它可以帮助交易者捕捉价格的买卖转折点,并辅助判断市场的超买超卖情况。同时,由于trader_ppo是通过EMA计算得出的,对价格波动的反应速度较快,让交易者能够更及时地做出决策。 然而,作为一种技术指标,trader_ppo并非万能的。它只是一个工具,需要结合其他指标和交易策略一起使用。此外,市场的复杂性也意味着指标的应用结果并非总是准确的,需要交易者做好风险控制和资金管理,以防止错误决策产生重大亏损。 总的来说,trader_ppo是一种常用的交易指标,通过计算价格短期和长期趋势之间的百分比差值,可以帮助交易者捕捉市场买卖信号。然而,合理使用该指标需要综合考虑其他因素,并且进行风险控制。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值