로드 중...
Myfxbook.com에 계속 접속하세요
Myfxbook.com에 계속 접속하세요
로그인
가입하기
Open an account with FOREX.com
FX Tools:
경제 달력
Interest Rates
FX Calculators
뉴스
스프레드
감정
외환 히트 맵
상관 관계
Market Hours
연락처
채팅을 사용하려면 로그인하십시오.
연락처로 돌아가기
새 메시지
새 메시지
😄
😐
😡
😁
😀
😑
😈
😲
😭
😎
😝
😳
😕
🙄
😞
🙃
😱
😇
😉
😂
홈
fxftw
게시물
공유하기
이 페이지를 공유하세요!
fxftw
에 의한 게시물
MT4 EA drawdown per day
프로그래밍
에서
Feb 03, 2017 at 07:51
Sketching this out, maybe something like:--------------------extern int defaultMaxOrders = 1;extern double dailyLossLimit = 0.95;extern double dailyProfitLimit = 1.05;int today;double dailyEquity;double dailyProfit;bool chillMode = false;void newDay() { today = TimeDayOfWeek(TimeCurrent()); dailyEquity = AccountEquity(); chillMode = false;}void OnInit() { today = TimeDayOfWeek(TimeCurrent()); dailyProfit = 1.0; dailyEquity = AccountEquity();}void OnTick() { if (today != TimeDayOfWeek(TimeCurrent())) { newDay(); } else { if (AccountEquity() / dailyEquity > dail...
MT4 EA drawdown per day
프로그래밍
에서
Feb 02, 2017 at 09:09
Lets say I have an EA applied to an H1 chart.How would I calculate the drawdown for that day?Eg.On Tick: If (Today is a New Day) then dailyDrawdown is 100.0 thisMorningsWorth = netAssetValue() Else dailyDrawdown = netAssetValue() / thisMorningsWorth End If (dailyDrawdown < 0.95) then chillForToday() Else MakeThoseTrades() EndWhat's the best way to set this sort of thing up?
Auto-trading with macOS (or linux?)
신규 트레이더
에서
Feb 01, 2017 at 07:25
@stian Wow. A 0.0 spread? Man, a lot has changed since I was last in the forex game.
Auto-trading with macOS (or linux?)
신규 트레이더
에서
Jan 31, 2017 at 13:22
I suppose in the case of closing multiple orders, I could relay a message from MT4 with libcurl to hit the v20 server with a "Close All" type message if i wanted to close a position, or hit it with the array to run through.Right now, I rarely get more than 8 trades open at once across any given pair. *500?* This is a much different strategy than I've played with, and something I'll have to experiment with. Thanks for the tips!
Auto-trading with macOS (or linux?)
신규 트레이더
에서
Jan 31, 2017 at 07:11
I've experimented with the Oanda live streaming API with Node.js (maybe a year ago) and their v20 python setup just a few days ago. This was where I started out before going down the MT4 rabbit hole. In a lot of ways, it feels like I'm reinventing the wheel when working directly through the Oanda API rather than something a bit more extendable and easy to backtest / experiment with like MT4. Perhaps once I have a strategy running live that I like I can port it over.MT5 looks like where I'd like to be, maybe further down the road.
Backtesting -- which optimization limits, timeframes / periods to test?
프로그래밍
에서
Jan 30, 2017 at 08:07
I'm just a few days into playing with MT4 scripting. I've integrated in the Dukascopy historical tick data with my brokers spreads for more accurate strategy test modeling. The files are *huge* and I believe there's a hard 4GB limit per file, which puts a limit ~2yrs of data at a time.I'm currently testing against M15, M30, H1, and H4 data across a few currency pairs with duplicate ticks filtered from the data, and I'm testing from 2015/1/1 through 2017/1/1 with a Dropdown limit of 30%, optimizing for final balance. Is this a good rough starting point?
Renko Charts, Multi-timeframe charts, and Volume bars in MT4
신규 트레이더
에서
Jan 30, 2017 at 08:07
I'd like to have the option to visualize a few unique charts in MT4.Renko:http://i.imgur.com/M7vD8xi.gifhttp://i.imgur.com/QZXGRz0.gifMulti-timeframe:http://i.imgur.com/5AGN0cf.pngVolume bars:http://i.imgur.com/tw8dyr1.pngI'm also interested in charts like Martin Cole's PAT system:http://i.imgur.com/zySs4Fv.jpgAre there any popular (free?) versions of these sorts of indicators for MT4?
Auto-trading with macOS (or linux?)
신규 트레이더
에서
Jan 30, 2017 at 08:06
Got it -- I downloaded MT4 through my broker and got that to launch with PlayOnMac (similar to POL for linux) through Wine. I downloaded VirtualBox and installed Vista, then used Tickstory to generate a settings file for my broker and downloaded the historical data to my Shared Folder back on the Mac-side. For now, I'm just experimenting with M15, M30, H1, and H4 data across a few pairs. I installed Mono on Wine and was able to get Tickstory on the mac-side to Launch MT4 through with the historical data from tickstory. I ran a few tests and I'm getting 99.9% modeling quality. Kind ...
Best forums for discussing beginner-friendly MQL4 scripting?
프로그래밍
에서
Jan 29, 2017 at 08:16
I'm trying to devise a way to calculate a Breakeven point across multiple orders, then update my orders once the threshold has been crossed across the multiple pair average.I would also like to calculate a Take Profit across multiple orders, then update my take profit when new orders are entered.This is something I intuitively do while manually trading, but I'm having some difficulty typing it out.How would you break this down in pseudo-code? Are there some beginner-friendly MQL4 scripting forums to discuss this sort of thing?
Just started working on MQL4 scripting -- Any help would be great!
프로그래밍
에서
Jan 29, 2017 at 07:20
I just downloaded a copy of MetaTrader4 and have been going through the API and playing with different ideas and scripts.I have a background in iOS dev (objective-C / Swift) and Web Dev via Javascript / PHP / Python.In the tester, it's pretty annoying so far. I've blown the last few days just hammering it with unprofitable scripts. It's amazing how easy it is to make an unprofitable EA and how difficult it is to dial in the smallest profitable strategy. :-D I'm running into small errors that I'm not quite understanding (eg. unmatched data error volume limit...?)I'm ...
Auto-trading with macOS (or linux?)
신규 트레이더
에서
Jan 26, 2017 at 08:38
I primary use macOS at home and linux for work. I was looking at playing with Oanda's API and getting to that with python or swift, but the more I look into it, the less ideal this seems.Are there any decent software solutions for developing and backtesting autotrading strategies with these environments?
Largest average PIP profit target for long trades?
신규 트레이더
에서
Jan 26, 2017 at 08:38
I'm going to try switching up my strategy, which has largely been volatility-based with market orders and required eyes on the screen all day, to something more along the lines of set-it-and-forget-it and limit order based (which I might be able to automate down the road.)What is the largest PIP profit that I might want to target on my positions for the week-month long timeframe for balancing opportunity : risk?
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?
로그인
로그인하지 않은 경우
이 기능은 등록된 회원만 사용할 수 있습니다.
등록은 무료이며 1 분 미만이 소요됩니다.
계속 진행하려면 가입 버튼을 클릭합니다.
이미 회원이면서 서비스를 즐기지 않는 한 로그인만 하면 됩니다.
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.