18.2 ApplyAutoStopsApplyAutoStops( Bar:integer );DescriptionProcesses all installed AutoStops for the specified Bar number.When usingAutoStops,you should insert the ApplyAutoStops statement at the beginning of themain trading loop,prior to other trad
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 14:46:57
18.2 ApplyAutoStopsApplyAutoStops( Bar:integer );DescriptionProcesses all installed AutoStops for the specified Bar number.When usingAutoStops,you should insert the ApplyAutoStops statement at the beginning of themain trading loop,prior to other trad
18.2 ApplyAutoStops
ApplyAutoStops( Bar:integer );
Description
Processes all installed AutoStops for the specified Bar number.When using
AutoStops,you should insert the ApplyAutoStops statement at the beginning of the
main trading loop,prior to other trading system signals.
In the event that more than one AutoStop function is competing to exit a trade on
the same bar,Wealth-Lab is designed to take the most pessimistic exit.For
example,a stop loss will be processed before a profit target as determined by the
order of priority:InstallTimeBasedExit,InstallStopLoss,InstallTrailingStop,
InstallReverseBreakEvenStop,InstallBreakEvenStop,and finally
InstallProfitTarget.
For more information,search the Wealth-Lab Knowledge Base for Using Automated
Exits/Stops.
Remarks
• AutoStops are global in nature.For example,only a single profit target level
exists,so you cannot establish different levels for multiple positions in the same
script.It's best to code your own exits manually if you want to maintain different
target levels.
• AutoStops are processed on the Bar passed to the function.It is not necessary to
pass Bar + 1 to ApplyAutoStops in order to trigger Alerts,which will be
generated as required based on installed AutoStops.
• By design,AutoStops never exit on the same bar as entry.
• Manually-coded exits will exit at whichever bar you specify.For example,to exit
with a 5% profit target on the same bar,the following code could be used instead
of InstallProfitTarget( 5 ).Notice that in this case the stop is plotted on the
same bar as the entry bar.
这是关于外汇交易系统方面说明.无中文版.麻烦翻译准确点谢谢
18.2 ApplyAutoStopsApplyAutoStops( Bar:integer );DescriptionProcesses all installed AutoStops for the specified Bar number.When usingAutoStops,you should insert the ApplyAutoStops statement at the beginning of themain trading loop,prior to other trad
18.2 applyautostops
applyautostops (大律师公会:整数) ;
描述
过程中所有已安装的autostops为指定的律师人数.当使用
autostops ,你应该插入applyautostops声明,在开始的
主要贸易圈,之前其他贸易体系的信号.
在事件不止一个autostop功能是竞争,以A出口贸易对
同时,酒吧,财富的劳顾会是旨在以最悲观的退出.为了
例如,一个停损将处理前的利润目标,确定由
优先顺序: installtimebasedexit , installstoploss , installtrailingstop ,
installreversebreakevenstop , installbreakevenstop ,最后
installprofittarget .
如需详细资讯,搜索财富实验室知识库使用自动化
退出/停止.
言论
• autostops是全球性的.例如,只有一个单一的利润目标水平
存在,所以您无法建立不同层次的多个职位,在相同的
脚本.它的最佳代码您自己的出口手动如果你想保持不同
目标水平.
• autostops处理就大律师公会传递给函数.这是没有必要
通过英美+ 1至applyautostops ,以触发警报,这将是
产生所需的基础上安装autostops .
•根据设计, autostops从来没有退出就同一酒吧作为入境.
•手动编码的出口将退出在哪个酒吧您所指定的.举例来说,要退出
与5 %的获利目标就同一酒吧,以下代码可用于而非
对installprofittarget ( 5 ) .通知指出,在这种情况下,停止是策划对
同时酒吧作为进入酒吧.
原文就这意思!