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

PositionsTotal() returns 0 while an pending stop order is placed...

$
0
0

Oh that. Good for you that it help you.

By the way,

1. For next time, would you please use SRC button to post the codes, it will make much easier for others who trying to help you, reads your codes.

 

2. In MT5/mql5, there are differences when we call position, orders and deal. Please read this article for clarity : Orders, Positions, and Deals in MetaTrader 5.


MT5 NOT WORKING WITH PROXY

$
0
0
I think you should write this to service desk. If it works with MT4, they should have the solution.

Questions/Answers on the Support Vector Machine Learning Tool

$
0
0

Hi Jasper

It is hard to know what the error is without seeing the code, but one idea is to check the file name in your #import statement. This has come up as an issue with many users. 

The link you provided connects to a script that was writte specifically for use with the demo version of the tool, not the paid version. 

If you are importing the demo version of the tool, the #import statement should read;

#import "svMachineTool_demo.ex5"

If you are importing the paid version of the tool, the #import statement should read; 

#import "svMachineTool.ex5"

If this doesn't fix your issue, please post your code so I can look through it. I hope this helps.

Putting a line (object) from a graph on another graph

$
0
0
c2h:

I wrote an EA that I put on a graph (M1). I want it to put a line (object) on another graph (M5) which already exists. Is it possible ? How can I do that ?

Christian 

Yup. Get the chart id by using Chart Operations (see example in ChartNext). Use that chart ID for first parameter of ObjectCreate.

The Automated Trading Championship 2012 Is Over!

$
0
0

Congratulations for all the winners!

I was also very glad with the performance of my EA "Blue Frog"! It finished in 49th with a profit of over 48%. I think it's very good for an EA built using the MT5 Wizard!! :)

Market Condition Evaluation based on standard indicators in Metatrader 5

$
0
0

I will continue tomorrow with overbough/overlold, and with breakout.

And for now - I want to upload 2 images - this is example of breakout using MaksiGen indicator (I made the entry to CodeBase so we all can download it soon).
All the lines on those charts were drawn by this indicator (support/resistance lines).

 

 

 

 

 

 

What can be done to make a very highly unprofitable EA Profitable?

$
0
0
Enigma71fx:
This statement is extremely far from truth. By the way, if it was so simple (just by reverting a failing strategy), why aren't everyone in the world using such method?
Indeed.

Display Entry and Exit Trade point on chart for Live account

$
0
0
wiptheman:

Hi All,

I'm new to MT5 and I have what seems to be a very basic problem that I can't seem to be solve.

When I back test my EA with the strategy tester the live simulation and the resulting graph show me when the trade was entered and where it was closed. The two points are connected by a dotted line (see below screen shot).

I find this very useful but when I do a forward test with the EA I don't see those informations on the chart? Any idea what setting I should change to have those informations displayed on the chart ?

 

Thanks a lot for your help ! 

There a lot of question and request about that and the answer is the same : From drag data from toolbox's trade or history tab and drop it to chart or you have to create it yourself.

trading signals question

$
0
0
tropheus:
thanks for the reply but for some reason I setup on my way I live account everything is setup okay but doesn't seem to take any trades and my leverage is the 100  1 what is the meta trader 4 will that work or not

Ups, apparently I missed how mql signal calculate lot for subscriber (see below). Here's from the link that user fzyekim gave earlier. I think you have to calculate your self or ask Service Desk about this :(

Assume that the Subscriber's balance comprises 8 000 EUR, the allowable load is - 50% and the Provider's balance is 10 000 USD. The current EURUSD rate is 1.20000. If the Provider performs a deal with the volume of 1 lot, the same deal is performed on the Subscriber's account with the volume of 0.48 lots. Subscriber's balance comprises 4 000 EUR or 4 800 USD considering allowable load. Therefore, the volume ration will comprise 4 800 / 10 000 = 0.48.

After the balances have been considered, Subscriber's and Provider's leverages are also taken into account. Their ratio is also calculated and multiplied by the volume obtained after consideration of balances' ratio. Assume that Subscriber's leverage is 1:100, while Provider's one is 1:200. Their ratio is equal to 0.5. The total trading operation volume on Subscriber's account will comprise 0.48 * 0.5 = 0.24. 

Discussion of article "Creating MQL5 Expert Advisors in minutes using EA Tree: Part One"

MQL5 signal provider reporting VERY errortic

$
0
0
graziani:

The way i would define and implement signals.
i'll try to be short :)

 

Lets define terms i need to explain my concept: 

1)  "An investment operation is one which, upon thorough analysis, promises safety of principal and a satisfactory return. Operations not meeting these requirements are speculative." (Graham)

 2) Risk of a financial transaction is a percentage of invested amount of money you are ready to lose. When this  percentage  is reached, transaction is exited regardless of any other factor 

 

Signals should be divided in speculative and investment categories. So, if a system (signal) has defined, verified and specified:

1) entry criteria
2) exit criteria (either target or event or both)
3) risk of individual transaction
4) risk of the system

then this signal can be treated as investment, otherwise it is speculation (in other words: pure gambling)

So a signal provider has to confirm points 1) & 2), and specify values for 3) & 4), and at that point his signal can be treated as investment.

To verify the quality and truthfulness of a provider, and to compare signal performance,  we measure:

1) Growth in % on year basis
2) Duration of signal providing
3) maximal relative drawdawn of single transaction (%) ->  3) risk of individual transaction 
4) maximal balance relative drawdawn (%) -> 4) risk of the system

 

Other:
1) Other compere criteria can be used, but clearly is less important
2) Leverage limitation can be droped: the adaptation of lot is done through risk of individual transaction
3) More security for signal providers should be given: signals should not be visible within first day (perhaps less)
4) Only server signal copy allowed (so only server copies the signal)
etc


WELL said and written, Thanks for your great contribution. Recently my broker uses this to calculate gain (for accts that are submitted for competition). The growth is calculated based gained over the capital that was risked at that point for that transaction. Eg if that trnx is 1 lot=USD250 and regardless of lot sizing, the pip gain was USD100 (@ 10pips for eg), then growth is computed as Profit/Loss($)/risk $. Thus if u had opened then tranx at 2 lots, the same 10 pips gained would have double the P/l($), BUT the gain% would be the same, coz of the computation as the risk$ would have been very much higher at higher lot sizes.

I believe this sort of growth% should be used and reported against the MT4/5 statements used to present a provider's profit & loss

Signal : Ask & Say Anything & Everything About MQL5 Trading Signal

$
0
0
fxyekim:

We have to think of all possible cases for incurring loses inadvertently.  It's already a very risky proposition.

Indeed.

I need to post a job but mql5 wont take the metaquotes id on my demo mt4 terminal

$
0
0
fx9:

I tried to it still will not work.

The service desk is useless, theres no admin contact feature, just descriptions of stuff about mt4-5 etc. 

Thanks,fx9

Did you really read and try to find your Service Desk ? 

Go to your profile by clicking your user name, look for "Service Desk" on the left side and click it, and you'll be here https://login.mql5.com/en/users/fx9/servicedesk  

The admin will respond from there. 

Set SMS number in your profile security (https://login.mql5.com/en/users/fx9/security), and try again in job section, using your SMS number

MQL5 Cloud Network: Are You Still Calculating?

$
0
0
doshur:
how much commission is MQ taking from the supplier?
Read the FAQ : currently 10 %.

What does locked operation mean under payments tab?

$
0
0
Yes the instant once are immediately credited and can be withdrawn instantly. All i hope is that the locked once will unlock and that these subscribers are getting the signals because we are floating at a profit of over +800 pips with +900 pips already closed this month and i dont want any subscriber to miss this.

Subscribe to signal on Metatrader 4

$
0
0

I tried it again (built 445, AlpariUK-Demo - Micro+Classic). It's definitly not showing up on my PC...

cheater ;-)

in my client it still not showing up.. 

Al right, this is what I did :

For Vista/7/8, Install MT4/MT5 outside C:\Program Files\..., for example C:\My other apps\... or C:\Program\... , or whatever. My MT4 is build 451, and demo is running without any problem. After login in community tab, I usually wait and read the MT4 journal tab, see if my login is succesful. If successful, log will say "Credit activated for phi.nuts, balance : 2.00", and signal tab will appear on MT4. 

 

Secondary axis

$
0
0
bananiel:

Hello,

I would like to know if it is possible to have different axes for different drawing buffers in an indicator. For example if I want to build in volume or an oscillator on an indicator that plots candlesticks, but this makes the data unreadable for the human eye, because the volume stretches out the scale.

Is there any way to set up a secondary axis or make the indicator create additional  subwindows?

Thanks 

I'm not sure that I understand what you trying to do, so maybe you can give more example, but this : "... because the volume stretches out the scale", really ?

Example and try this : attach MACD, then drag and drop RSI and Volume (NOT attach) on to that MACD. RSI has fixed chart but not for MACD and Volume. MACD and RSI has axis but not Volume. Now if do it right, you will have MACD and RSI and Volume on the same single sub-chart window. 

 

Suggestions for the signal

$
0
0
myfxpt:

(1) Risk setting to allow signal receiver to set own risk factor / lot size

(2) Ignore existing open trades at signal sign-up, and only process new signals

(3) Ability to set subscription fee at percentage of profit

(4) Website widgets to promote signal services

(5) Credit card deposit AND withdrawal

(6) Scalable Metaquotes fees based on turnover 

I think (2) has been included in option for first time subscribe.

How much did you lose when you first started forex before you learned to trade or got a profiting system?

$
0
0

Lets all vote so that newbies who have lost some money dont lose hope on forex.

Traders Joking

$
0
0
newdigital:
Winning Trading system.

System is the following:

1. 1 lot size. 
2. 22 working days in a month. 
3. Profit: 
- 25 pips per day; 
- $2,500$ in day;
- $42,500$ in a month. 
4. Stop-Loss: 
- 25 pips a day during the 5 days a month; 
- $2,500$ in a day;
- $12,500$ in a month; 

Total profit: in a month (22 days) = $30,000$ for one pair only.
$150,000 for 5 pairs.

No any indicators or trading algorithm needed.
Kindly share the trading system
Viewing all 75046 articles
Browse latest View live


Latest Images