|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 9/6/2010 12:36:56 PM
Posts: 2,
Visits: 20
|
|
hi can you make the edited script to open only 1 position at the time??
excelent work by the way!!!! over 1000 pips in 3 weeks! real mode!! but it will work better if you open only one position at the time!
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 1/27/2012 12:53:25 PM
Posts: 201,
Visits: 295
|
|
Hi, Rmaynez.
If I understood you right, you want that not more than one position is open at the same time, right? So try script in attaché.
Best regards!
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 11/21/2010 8:47:32 PM
Posts: 8,
Visits: 34
|
|
Hi,
I tried your strategy in ava trader. Nothing is happening.
It starts and stops.the envelope indicator is not showed and no trades or orders are places what so ever.
whats the problem?
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 9/7/2010 5:32:17 AM
Posts: 24,
Visits: 36
|
|
Hi. Once I have got same problem. Try to change “Deviation” = 0.1 I attach a picture, I think it will help you. Bye, Den
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 8/18/2010 4:23:07 PM
Posts: 2,
Visits: 14
|
|
Hi to everybody.
I tried the script with different crosses and different settings but I didn't see positive results.
I tried with 60 days... timeframe of 15 minutes and 30 minutes.
May be with opposite positions? BUY instead of SELL and viceversa?
Gab
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 10/15/2010 11:39:22 AM
Posts: 21,
Visits: 72
|
|
| Ey Elvin! I have to congratulate and thank you for this Strategy. I've been testing several others and this one appears to be the safest and the one of the most profitable one. ah great Idea!! You encourage me to learn this progam language and share too! The edited one works amazing!! I have done several tests in many instruments with different settings and I got to one set up that works for me amazingly. 
Settings are: EUR/USD. 1 hour. Envelops: Period: 56 Std deviation: 0.2 After several test this set up proyected 323% or earnings IN ONE MONTH!: | Instrument | Amount | Open | Open Time (Date) | Open Time (Time) | Close | Close Time (Date) | Close Time (Time) | Lot P/L | Net P/L | account | increase/decrease | | EURUSD | 2,000 | 1.32490 | 09/08/2010 | 09:00:00 a.m. | 1.28109 | 16/08/2010 | 04:00:00 a.m. | 4,381 | 87.62 | 100 | 187.62 | | EURUSD | 2,000 | 1.28109 | 16/08/2010 | 04:00:00 a.m. | 1.28360 | 16/08/2010 | 01:00:00 p.m. | 251 | 5.02 | 187.62 | 192.64 | | EURUSD | 2,000 | 1.28009 | 16/08/2010 | 06:40:00 a.m. | 1.28360 | 16/08/2010 | 01:00:00 p.m. | 351 | 7.02 | 192.64 | 199.66 | | EURUSD | 2,000 | 1.28360 | 16/08/2010 | 01:00:00 p.m. | 1.28409 | 19/08/2010 | 08:00:00 a.m. | -49 | -0.98 | 199.66 | 198.68 | | EURUSD | 2,000 | 1.28240 | 17/08/2010 | 03:40:00 a.m. | 1.28409 | 19/08/2010 | 08:00:00 a.m. | -169 | -3.38 | 198.68 | 195.3 | | EURUSD | 2,000 | 1.28470 | 17/08/2010 | 01:00:00 a.m. | 1.28409 | 19/08/2010 | 08:00:00 a.m. | 61 | 1.22 | 195.3 | 196.52 | | EURUSD | 2,000 | 1.28700 | 18/08/2010 | 12:00:00 p.m. | 1.28409 | 19/08/2010 | 08:00:00 a.m. | 291 | 5.82 | 196.52 | 202.34 | | EURUSD | 2,000 | 1.28650 | 19/08/2010 | 10:59:59 a.m. | 1.26739 | 24/08/2010 | 11:40:00 a.m. | 1,911 | 38.22 | 202.34 | 240.56 | | EURUSD | 2,000 | 1.28409 | 19/08/2010 | 08:00:00 a.m. | 1.28650 | 19/08/2010 | 10:59:59 a.m. | 241 | 4.82 | 240.56 | 245.38 | | EURUSD | 2,000 | 1.26739 | 24/08/2010 | 11:40:00 a.m. | 1.26430 | 25/08/2010 | 06:59:59 a.m. | -309 | -6.18 | 245.38 | 239.2 | | EURUSD | 2,000 | 1.26519 | 24/08/2010 | 09:40:00 p.m. | 1.26430 | 25/08/2010 | 06:59:59 a.m. | -89 | -1.78 | 239.2 | 237.42 | | EURUSD | 2,000 | 1.26430 | 25/08/2010 | 06:59:59 a.m. | 1.26659 | 25/08/2010 | 12:59:59 p.m. | -229 | -4.58 | 237.42 | 232.84 | | EURUSD | 2,000 | 1.26659 | 25/08/2010 | 12:59:59 p.m. | 1.27050 | 26/08/2010 | 08:20:00 a.m. | 391 | 7.82 | 232.84 | 240.66 | | EURUSD | 2,000 | 1.27050 | 26/08/2010 | 08:20:00 a.m. | 1.26949 | 31/08/2010 | 05:59:59 a.m. | 101 | 2.02 | 240.66 | 242.68 | | EURUSD | 2,000 | 1.26960 | 27/08/2010 | 08:40:00 a.m. | 1.26949 | 31/08/2010 | 05:59:59 a.m. | 11 | 0.22 | 242.68 | 242.9 | | EURUSD | 2,000 | 1.27160 | 27/08/2010 | 11:40:00 a.m. | 1.26949 | 31/08/2010 | 05:59:59 a.m. | 211 | 4.22 | 242.9 | 247.12 | | EURUSD | 2,000 | 1.27030 | 27/08/2010 | 05:40:00 a.m. | 1.26949 | 31/08/2010 | 05:59:59 a.m. | 81 | 1.62 | 247.12 | 248.74 | | EURUSD | 2,000 | 1.26799 | 31/08/2010 | 05:40:00 p.m. | 1.28710 | 06/09/2010 | 10:40:00 a.m. | 1,911 | 38.22 | 248.74 | 286.96 | | EURUSD | 2,000 | 1.26949 | 31/08/2010 | 05:59:59 a.m. | 1.28770 | 06/09/2010 | 10:59:59 a.m. | 1,821 | 36.42 | 286.96 | 323.38 |
The range opened with the setting 56/0.2 for the EURUSD 1 HOUR, seems to be the addecuate one to permit to the instrument to float properly inside and out side. The percentage of lost is over -i think, 20% o 30%. we might observe as best, bigger time frames (like 4 and 8 hours) when the price opens a buy order and market goes down outside the envelopes range and if necesary, close the order manually. however, eventually market and Env range will match to provide good profitable operations. same action when a sell order opens and market goes up outside of the range. I ran all test in my real account (somehow, in demo acocunts shows different results, since I care the most in real, i run test in real). and since I'm sure it works I'm running it in real. of course with 2k orders for now. but sure in future i will increase the lots! aah!! I owe you one of the best tequila bottle. :0) try it and let me know... i could be missing something, though. The eddited is the good one. There is another strategy that provides also good profits: TwoMAs.act. it is uplodaded in this forum. works for me with in the EUR/USD, 30min. with 10 and 40 exponential periods. tehre you go! let me know!
success in forex is possible
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2/3/2012 12:14:37 AM
Posts: 444,
Visits: 817
|
|
forexgeek (8/16/2010) Hi,
I tried your strategy in ava trader. Nothing is happening.
It starts and stops.the envelope indicator is not showed and no trades or orders are places what so ever.
whats the problem?
Just a quick note about how different brokers and accounts react to the word "Point" in a Strategy script.
One of the standard lines in virtually every Strategy script is:
Point := History.Instrument.PointSize;
Different brokers and different kinds of accounts interpret this in different ways.
In a EURUSD standard Strategy, "Point" is supposed to be .001. If the closing price is 1.3333, and you had previously opened a Buy trade at 1.3300, the Point would interpret this as a 33 pip profit for you.
In some Demo accounts, and some Micro Live accounts, a Point can be as little as .00001 - 100 times smaller than it would have been in a standard account. Now, if you use "Point" in different parts of your Strategy to do different things, this difference in the value of Point can mess everything up.
Design a little strategy that has the line
log('Point size: ' +FloatToStr(Point));
in it so that you can see in the log what size the Point is.
Remember to include the line
Point := History.Instrument.PointSize;
before the above "log" line.
Edited: 9/9/2010 8:13:55 PM by black
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 11/5/2010 12:17:47 PM
Posts: 10,
Visits: 53
|
|
| hi guys can you also make a strategy with stop you can adjust,,butt limitt automatic,and 1 order at the time.. is this possible? i think it will have the best result and the savest..
i will be... i am...
Edited: 9/14/2010 11:18:33 AM by Taha5
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 11/5/2010 12:17:47 PM
Posts: 10,
Visits: 53
|
|
can someone edit this strategy plzz,,, just 1 postion open,,, it opens sometimes to mutch position..
i will be... i am...
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2/3/2012 12:14:37 AM
Posts: 444,
Visits: 817
|
|
Taha5 (9/14/2010) hi guys
can you also make a strategy with stop you can adjust,,butt limitt automatic,and 1 order at the time..
is this possible? i think it will have the best result and the savest..
var //declaration of the variables
MaxPos : Integer;
procedure OnCreate;
begin
AddIntegerSetting(@MaxPos, 'Max Open Trades', 1); // Change this to any number you like.
procedure OnNewCandle;
begin
if (TradeList.Count < MaxPos)
and ('ADD YOUR OTHER PARAMETERS HERE.') then
begin
CreateOrder(History.Instrument, Account, Amount, bsBuy,
History.Instrument.Sell - Point*Stop,
History.Instrument.Sell + Point*Limit, TraderRange, 'BuyTrade');
end;
if (TradeList.Count < MaxPos)
and ('ADD YOUR OTHER PARAMETERS HERE.') then
begin
CreateOrder(History.Instrument, Account, Amount, bsSell,
History.Instrument.Buy + Point*Stop,
History.Instrument.Buy - Point*Limit, TraderRange, 'SellTrade');
end;
|
|
|
|