正在加载...
继续访问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
Advertisement
帖子作者:forex_trader_294488
Traders españoles en la comunidad
在
一般
中
Feb 14, 2016 at 07:18
Buena idea
MQL4 Stoploss
在
编程
中
Feb 10, 2016 at 12:59
Hello everyone. I've coded this piece here:for(int i=0;iOrderStopLoss()+atr && Close[1]>OrderOpenPrice()+atr) //is the price already greater than the opening price+ATR, and than the stoploss+ATR? { bool order = OrderModify(OrderTicket(),OrderOpenPrice(),NormalizeDouble(OrderStopLoss()+atr-0.0005,5),0,0,clrAquamarine); if(!order){Alert(GetLastError());} } else { return; } }}But the stoploss keeps moving on every tick. I know it is due to the "-0.0005", but ...
Trend Definition
在
新手交易员
中
Jan 21, 2016 at 21:10
Thank you very much again. I think I understand now, what you meant. And yes, I thought about that idea. I stady maths, so my initial idea was to take the derivate of a MA and in case it was zero or near zero, that would be a sideways movement. The problem is, that I don't know how to programm the derivate of an MA in MQL4.My EA follows the trend avoiding corrections with the MACD. That's why I need to filter trend and sideways movements: to avoid false signals I get on sideways movements.I have thought about something else. And that's a triple EMA: 7, 14, 100 periods. That way whe...
Trend Definition
在
新手交易员
中
Jan 21, 2016 at 08:04
Hi there! First thank you very much both of you for your time and help. But I'm afraid, you have not understand the problem I have.Yes, CrazyTrader. That's a nice idea. I have my EA working on "this kind" pairs (NZD/USD,AUD/USD, GBP/EUR...). But I need to programm that. I would like it to work by itself. I don't want to be there and when I get a signal, look at the chart and the pair, and the decide if I open or not an order... I think your idea is really good, but I still don't know how I could apply it in code form.Thank you very much again. And have a nice day!
Trend Definition
在
新手交易员
中
Jan 19, 2016 at 07:41
Hi there! I hope you all are having a nice day. My question is: How do you define what a trend is? How do you determine if an asset is in trend or just in a side movement?I am trying to programm an strategy, but I need to set the EA to work only when there is a trend. Or at least when the price is not moving sideways. How would you do it? Would you use an indicator? In what way? Or how would you code the "price action" to determine if the price is on trend or not.Thank you very much in advance.
C++ vs Python
在
编程
中
Jan 18, 2016 at 13:37
Thank you very much for your advice. I already know it is not easy or simple. That's why I am asking. As I said, I want something I can learn and adapt to my needs in the longterm.I'll consider your advice and have a look at these ideas.Thank you very much
C++ vs Python
在
编程
中
Jan 18, 2016 at 12:21
I would like to learn and use something "scalable". Right now I don't have much money to fund an account. That's why I'm thinking about Raspberry Pi and not a VPS. But I would like to invest my time learning something that I can use in the longterm and not something that will be "useless" in some months.I tried MQL4, but I would like to work with tick information and not with time candles. I am not doing HFT right now, but I don't discard that idea, hence I am looking for something fast.
C++ vs Python
在
编程
中
Jan 16, 2016 at 17:34
Hi everyone over there!I have been trying to program my strategy to work alone, in form of EA with Metatrader 4. But although I'm not proficency with MQL4, I already see the bottelnecks of this platform and this programming language. I wonder if it would be a good idea to learn to code python or C++, run my own robot in my own "platform" on a Raspberry Pi. I could use some APIs and tools some brokers offer, like Oanda (the one I am currently using).My questions are:- Is it worth the effort?- Which language should I choose?Thank you very much in advance. Please, feel free to share...
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.
以前
共识
实际