- Search Forex Factory
- 25 Results
- kapaks replied Mar 30, 2010
I was thinking about the same thing. You can count how many different values of High - Open, Close - Low and Close - Open occured since 2000. You will possibly get something like this: High - Open - 50 different values Close - Low - 50 different ...
- kapaks replied Mar 29, 2010
Right. The only problem is memory usage. But I'm not sure if there is anything shorter in MQL4 then a 4-byte integer number.
- kapaks replied Mar 29, 2010
Ronald, what do you think about this set: 1. High - Open 2. Close - Low 3. Abs(Close - Open) 4. which is greater Open or Close (0 - Open > Close; 1 - Open < Close) You can use only 1 bit to represent no. 4. What is more visualization can also be ...
- kapaks replied Mar 26, 2009
It can be done The next version will have two new issues - move SL to BE and trigger an order when price hits trend line. Pawel
- kapaks replied Mar 26, 2009
I try to explain the remove_SL_TP variable. It removes SL and TP from your order. Not the trendlines put by the EA, but the SL and TP values from your order. This will explain it better. Before adding the EA to the chart you have one open order: ...
- kapaks replied Mar 26, 2009
Here's the new version. 1. The problem with closing trades too early is solved. 2. When the EA is dragged onto a chart with an open order then if there are no SL and TP set for the order the EA will create default trendlines (the values of SL and TP ...
- kapaks replied Mar 25, 2009
It closes trades too early. Mmm... I'll take a look at this and try to find out what's wrong. Adding two lines to the chart (SL line and TP line) when the EA is dragged onto the chart with an open position is no problem at all. I will do this, check ...
- kapaks replied Mar 24, 2009
I have made a little something for you This EA has two parameters: SL_name - the name of the trendline that should be SL line TP_name - the name of the trendline that should be TP line The trade is closed once the price hit or cross a proper ...
- kapaks replied Mar 24, 2009
Try using this: double R3 = NormalizeDouble(iCustom(NULL,Period (),"IBFX - DailyPivots",1,0,1),Digits); Print("R3=",R3); It will give you the correct value. In this indicator there is no S/R for the actual bar (the last parameter in iCustom = 0). ...
- kapaks replied Mar 19, 2009
There are 11 active users at the moment. Check the first post in this thread - there's a link to this chat.
- kapaks replied Mar 19, 2009
PPZ is Pivot Point Zone which is used for support and resistance areas. PF is Private Forum (I think so ) - the forum of james16 group (www.james16group.us)
- kapaks replied Mar 2, 2009
Post the part of your code that opens trades (the part with OrderSend) so it will be easier to find what's wrong with your EA.
- kapaks replied Feb 24, 2009
Maybe you put them in the wrong folder. The only correct place for indicators is experts/indicators For example: C:/MetaTrader/experts/indicators
- kapaks replied Feb 20, 2009
There are a lot of threads and posts about moving to BE. It took me less then minute to find this: url FOREXflash has put some code there you may find useful.
- kapaks replied Feb 19, 2009
Try to locate the lines which begin with "extern" - this line are lines with settings... or just send me the file and I will show you what to change No problem at all. I have plenty of time
- kapaks replied Feb 19, 2009
The values of your parameters was as follows: CountBars - 400 SSP - 5 Kmin - 1.6 Kmax - 50.6 gAlert - False I have changed them into the following values: CountBars - 600 SSP - 9 Kmin - 2.5 Kmax - 80.2 gAlert - True When you add my version of ...
- kapaks replied Feb 19, 2009
CountBars, SSP, Kmin, Kmax, gAlert - these are the settings of your indicator. If you want for example to change the value of Kmin to 2.5 then you have to change this line: extern double Kmin=1.6; into this: extern double Kmin=2.5; That's what I ...
- kapaks replied Feb 19, 2009
This is what I see... When Trade1() is executed for the first time two orders will be open - BUY and SELL. If you execute the function orders() then both variables sells and buys will be equal to 1. It's because of this code: if ( ...
- kapaks replied Feb 19, 2009
Do you have the code of this indicator? I mean the mq4 file. If yes you can change the parameters directly in the code of the indicator. After that the new values will become default ones. Input parameters are followed by "extern" in the mq4 file. ...