Quantcast
Channel: MQL5: MetaTrader 5 trading, automated systems and strategy testing forum
Viewing all 75046 articles
Browse latest View live

Indicators: Signal to noise filter

$
0
0
Rossella.Dy:

 

It's good, it works!!

My code doesn't but at least I have got a solid base! Thanks! 

Good stuff, glad to hear :)

iBand reading?

$
0
0
Please wait little bit, it seems I was wrong with previous comment. I am working with that case little bit more. But it should be good if somehow is possible to show in code or in Strategy Tester what Timeframes and Indicators I am using, because at first sight Strategy Tester is not always able to initiate them.

Good money management

$
0
0

Hi, do you have a good money management system, please share it or sent by private message.

I need MM which can define the size of next order taking into account current deposit, last losses/profits, also key parameters/statistics of trading system/EA 

Thank you in advance. 

Indicator and debugger won't start

$
0
0
ah ofc sorry I was still thinking I was using MQL4 thank you for that :)

Experts: Fracture 7.4.0

$
0
0
lahim77:

I tried version 9.0 on demo acc. Once,

Thanx. red line of margin call was there, but no damage occured. What r the safe settins to avoid margin call in future,if I apply this ea on live accout?. Plz tell.

Otherwise it is best EA ,I have seen. 

its os strange since its an EA i wrote 5 years ago

Need some the realy know how all about MT4 platform.

$
0
0
Hmmm, not sure which brokers you have been dealing with but every point you listed is a pretty standard MT4 setup.

Rent system do not work properly yet

$
0
0
angevoyageur:
Please contact the ServiceDesk about such issue.
I did and while waiting for service desk's answer, maybe the others have same problem and how to solve this problem.

Which central bank do you trust most?

$
0
0
Vhenom:
I don't trust any banks
2nd that...

How to release memory use by build-in indicators?

$
0
0
Malacarne:

Hello Roel13,

May I ask you why you need 1 million bars? Try to decrease the amount of bars used in your calculations. In order to do that, please take a look here: http://www.metatrader5.com/en/terminal/help/settings/settings_charts

Regards,
Malacarne

Hello Malacarne,

To get a more reliable overview of how good a formula is.

Is there any way to clean up MT4's internal memory use it would be better?

This issue/bug is easy to similute btw, just run hundreds of calculations with varying settings on i<some internal indicator>; it seems clear that MT4 somehow caches the information for all of them and then runs out of memory.

trading with austerity

$
0
0

In MT5 Build 1085 Demo account:  the maximum amount of running Expert Advisors at the same time is 3, and each one with a different symbol: is that a new joke? ! !... and when the custom indicators are not

an " invalid EX5  file(12)"  it's a mystery! ! This all only since the update to the Build 1085!!!... very bad work,  indeed! 

Traders Joking

Press review

$
0
0

His Secret To Day Trading Gold (based on thetechnicaltraders article)

"The chart below shows the last 4 intraday sessions for gold using the GLD ETF. As you can see these sessions had very similar price movement. This is a 5 minute chart of gold using GLD. I trade it using the 3 minute chart as it allows the best timing for entering and exiting positions and this 5 minute chart keeps my head clear for the key turning points because it is easy to get caught up in the one minute chart noise and miss the important patterns."







"Above is the chart of GLD ETF and some actual trades. I am a very conservative trader and I like to lock in profits once I am satisfied with a move or if the chart shows any indication it may go against my position. I tend to exit trades a little too early but my focus is on catching the middle section of a trend because they are the safest areas to trade I think. When there are no swing trading setups I focus on finding these intraday day trading gold patterns along with SP500 index and Nasdaq day trades to generate my weekly income."

GOLD Technical Analysis 2015, 22.02 - 01.03: Bullish Breakout or Bullish Ranging with 1306.82 Key Resistance

$
0
0

Forum on trading, automated trading systems and testing trading strategies

Press review

newdigital, 2015.02.21 10:51

GOLD Fundamentals (based on dailyfx article)

Fundamental Forecast for Gold: Neutral

  • Gold Stalling at 1200 Figure, SPX 500 Stalling at Record High
  • Gold Price Rebounds from Fibonacci Level; 1170s Still Possible


Gold prices are lower for a fourth consecutive week with the precious metal off more than 2.4% to trade at $1199 ahead of the New York close on Friday. Despite the losses, gold is poised to close the week well-off the lows after rebounding off key support mid-week with the greenback on the defensive as the USDOLLAR index posts its third consecutive weekly decline.

Minutes from the latest FOMC policy meeting cited a more cautious tone from the committee with “many officials” inclined to maintain the central bank’s zero interest rate policy amid concerns over the strengthening dollar and “foreign weakness” from the likes of China, the Middle East, Ukraine and Greece. The release prompted a rebound in gold prices which were trading into a critical support region as expectations for a June rate hike diminished. While the technical damage done to gold this month cannot be overlooked, near-term the shift in Fed rhetoric could continue to offer gold a reprieve from the recent selling pressure.

Looking ahead to next week, traders will closely eying key US metrics with January CPI, durable goods orders, and the second read on 4Q GDP. The most significant event risk will likely be on Tuesday when Federal Reserve Chair Janet Yellen testifies before the Senate Bank Panel in Washington. Look for any weakness / downward revisions in the data or more dovish comments from Yellen to prop up gold as investors push out expectations for Fed normalization. We’ll also be watching the developing story in Greece with the current bailout set to expire at the end of the week. With news on Friday affirming that an initial four-month extension has been granted, the focus will remain on US data and the central bank interest rate outlook heading into next week.

From a technical standpoint, gold rebounded off key support this week at the $1196/98. This level is defined by the confluence of the 61.8% retracement of the November advance & the 1.618% extension of the decline off the January high and is backed closely by a basic trendline support off the November low. We’ reserve this region as our near-term bullish invalidation level and although the broader bias remains weighted to the down-side, near-term this structure may offer stronger support. Note that daily RSI is holding just above the 40-threshold and we’ll use pending resistance trigger as validation of either a near-term recovery higher into the close of the month, or a material break sub 1196. Such a scenario targets subsequent support targets at $1171 & $1155. Interim resistance (near-term bearish invalidation) stands at $1218/24 with a breach above targeting $1239/40. Bottom line: looking for a low early next week with a general topside bias in play near-term while above $1196/98.


How to get "market depth" info from MQL5?

$
0
0

https://www.mql5.com/en/docs/marketinformation/marketbookget

Examples: MetaTrader 4 Expert Advisor exchanges information with the outside world

$
0
0
more:

Yes it can, but MT4 client must know your  c++ server protocol, besides look at how MT4 DLL functions must be dtfined:

 After connection is established your MT4 client should use this funtions for info exchange with your c++ server, something like that:

 

I tested this java client/server.

Results are:

1. MT4 client can connect to it

2. MT4 client can send info to it and he recieves this info

2. MT4 client does't recieve info from this java client/server - the reason is my software is designed to send/recieve data blocks with variable length,

data block length  is contained in the 4 bytes header, so MT4 client don't read it's data from stack until data length equal to number in 4 bytes header,

but in the case when java server send only character strings  this number is very very very large !

 

So I should redo some things in my sofware for you to use it, or you should form data length  four bytes header for every data block to send to MT4 terminal.

In other words MT4 client and it's software environment waits input data in format : DWORD, Data.    DWORD - is 4 bytes header that comtains number of data itself + 4.


where is my MQL folder

$
0
0
Dr.Trader:

Long time ago, somewhere like a year of half a year ago, all experts were stored in same folder where mt4 is installed. MT4 default program folder is c:/program files/metatrader4 or it can be changed to whatever user wants, like I:/fbs.com on your screenshot. All experts would be stored there in some sub-folder.

But, since one update - all experts were moved to different folder (c:/users/roaming/metaquotes/terminal/..../mql4/experts). Just click "open data folder" from mt4 menu to get there. This is new location, you cannot change it, and you should use it to store experts.

 

As far as I know - expert advisor cannot determine his folder, this is prohibited for security reasons. So, there is no way that its performance can be affected by folder location, your problem is probably something else.

 

But you can try to find really old mt4 installer, install it into "I:/fbs.com", ignore all updates, and then you will have old version, then copy expert to folder recommended by developer. But I doubt it will make ea better, its performance will be the same. 

http://docs.mql4.com/constants/namedconstants/compilemacros


Check out __PATH__ 

Indicators: Smoothed RSI Inverse Fisher Transform by Sylvain Vervoort

$
0
0
Never mind. My bad. Have it working. Thanks to the coder!

Heiken Ashi EA contents.

$
0
0
Filter:

Rather than handing you the answer, I'd like you to learn how to do this. Everything you need to know is in the following code from that indicator:

 and.....

 

 :)

Thanks for your helpful reply . After checking your answer against the Heiken Ashi indicator mq4 code, i confirmed that 

buffer 2 represents open ,while buffer 3 represents close. but i am still confused about buffers 0 and 1 , the Heiken Ashi indicator code  

says 0 = Low/High ,and 1 = High/Low ,

 SetIndexBuffer(0,ExtLowHighBuffer);

  SetIndexBuffer(1,ExtHighLowBuffer);

looking further down the code  , i understand that the buffers for High and Low values can inter-change depending on the color of the candle.

if(haOpen<haClose)

        {

         ExtLowHighBuffer[i]=haLow;

         ExtHighLowBuffer[i]=haHigh;

        }

      else

        {

         ExtLowHighBuffer[i]=haHigh;

         ExtHighLowBuffer[i]=haLow; 

 

Why is that so ? 

Experts: Volatility Trader and Breakout EA (X-liquidex)

$
0
0

I'm about to start real trading with this EA with $400 USD

 

Wish me luck, ill report my progress if i ever remember to 

 

Edit: Also it seemed to work better on backtests for me on H1 rather than M30 

Right time to buy EUR/USD

$
0
0

Base in my opinion, now is the right time to buy EUR/USD. If the price going to January low we can add buy position and hold the position till the end of this year.

Viewing all 75046 articles
Browse latest View live