正在載入……
繼續訪問Myfxbook.com
繼續訪問Myfxbook.com
Čeština
Deutsch
English
Español
Français
Indonesia
Latviešu
Melayu
Polski
Português(Brasil)
Português(Portugal)
Slovenčina
Svenska
Türkçe
Vietnamese
Русский
हिंदी
ไทย
日本語
简体字
繁體中文
한국어
登錄
註冊
Open an account with FOREX.com
FX Tools:
經濟日曆
Interest Rates
FX Calculators
新聞
價差
情緒
外匯熱力圖
相關性
Market Hours
首頁
bren89
帖子
分享
分享此頁面!
Advertisement
帖子作者:
bren89
Can You Help Me With This EA
在
程式設計
中
Aug 23, 2017 at 07:04
Hello Everybody,I am new here, I decided I would like to create an Expert Advisor. I am busy getting familiar with MQL5 and it is going great! I thought I would start of by creating a simple MA crossover EA, and so far so good.**BUT** The problem comes in when I need to open a trade. I want my EA to only **BUY** if the candle stick after the MA cross _**closes**_ higher than the candle stick at the cross. and do the complete opposite for a **SELL** I tried using **priceInfo[-1].close** but that obviously that doesn't work. ("_priceInfo_" is the array for mqlRates)So could this be...
You have an Ad Blocker!
Myfxbook is a site supported by advertisements. Here are two ways for you to continue browsing:
Ad Free Subscription
或
Disable your Ad Blocker
Already subscribed?
登錄
您沒有登錄
此功能僅適用於註冊會員。
註冊是免費的,只需不到一分鐘。
點擊註冊按鈕繼續。
除非您已經是會員並享受我們的服務,否則只需登錄。
Keep up to date with the markets
Enable notifications to receive real-time important market updates:
經濟日曆
外匯新聞
You can disable notifications at any time from your browser.
Unblock Notifications
You've blocked browser notifications for Myfxbook.com. Please enable it:
You can disable notifications at any time from your browser.
以前
共識
實際