[英]MQL4 code to analyse charts
I'd like to write out an MQL4 EA that finds out pattern on charts without trading them. 我想编写一个MQL4 EA,它可以在图表上找到模式而不进行交易。
A sort of exploration of the charts that outputs only a list of dates where the conditions I'm looking for are verified. 对图表的一种探索,该图表仅输出经过验证的我想要的条件的日期列表。
For example I try to find out all trends where the price moves in a range of 100 pips in less than 8 hours, but without opening any position, only storing all records in a list. 例如,我尝试找出所有价格在不到8小时的时间内波动100个点的趋势,但是没有打开任何头寸,仅将所有记录存储在列表中。
Is this possible? 这可能吗?
just list all the conditions you desire to meet 列出您想要满足的所有条件
and 和
test on all bars, whether all of these conditions were met. 在所有酒吧上测试是否满足所有这些条件。
if ( all_conditions_met == True ) { ReportThisJustFoundCandidate( aFileNAME ); }
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.