A very simple cashcow
  #1 (permalink)  
Old 06-16-2005, 10:12 AM
TraderSeven's Avatar
Sophomore
 
Join Date: Jun 2005
Posts: 86
Thanks: 0
Thanked 1 Time in 1 Post
TraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of light
Talking A very simple cashcow

Well I hope it's a cashcow. Visual tests are very promising.
I use 1 day EURUSD.

Wait until the bar (a trading day) closes.

If High-Close<0.0015 then take a short trade with a 25 pip target.
If Close-Low<0.0015 then take a long trade with a 25 pip target.

We just lay in a market order on the todays bar.
Not yesterdays bar that we used to check if we take a trade.
It saves us the rollover costs.

You will get around 1 trade a week. That's 25-spread=~20 pips
It won't make you rich but $200 extra a week/contract ain't that bad....

Hopefully it's helpful to someone.
Now please be helpfull to me too :

I want to get this thing programmed as I want to backtest.
For this system to work speed is essential. You must lay in the order a few seconds from open. Not a few hours later when you get home or wake up.
I tried ZeroCode and the my own code (see below) but both give me not one single trade. Not even a loosing one.

============= only the shorting part ========
if (High[1]-Close[1])<0.0015 then
Begin
SetOrder(OP_BUY,Lots,ask,9999,stoploss,ask+30*Poin t,Red);
exit;
end;

Last edited by TraderSeven : 06-16-2005 at 10:14 AM. Reason: mucho typos
Reply With Quote
  #2 (permalink)  
Old 06-16-2005, 07:05 PM
gazuz's Avatar
Senior Trader and Moderat
 
Join Date: Aug 2004
Posts: 768
Thanks: 1
Thanked 8 Times in 5 Posts
gazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to all
Default

Quote:
Originally Posted by TraderSeven
Well I hope it's a cashcow. Visual tests are very promising.
I use 1 day EURUSD.

Wait until the bar (a trading day) closes.

If High-Close<0.0015 then take a short trade with a 25 pip target.
If Close-Low<0.0015 then take a long trade with a 25 pip target.

We just lay in a market order on the todays bar.
Not yesterdays bar that we used to check if we take a trade.
It saves us the rollover costs.

You will get around 1 trade a week. That's 25-spread=~20 pips
It won't make you rich but $200 extra a week/contract ain't that bad....

Hopefully it's helpful to someone.
Now please be helpfull to me too :

I want to get this thing programmed as I want to backtest.
For this system to work speed is essential. You must lay in the order a few seconds from open. Not a few hours later when you get home or wake up.
I tried ZeroCode and the my own code (see below) but both give me not one single trade. Not even a loosing one.

============= only the shorting part ========
if (High[1]-Close[1])<0.0015 then
Begin
SetOrder(OP_BUY,Lots,ask,9999,stoploss,ask+30*Poin t,Red);
exit;
end;

For the ZeroCode I'm sure its probably just a spelling error or something. Check with scorpion by posting your ZeroCode logics, theres probably a tiny mistake that's missing out. Post it in the ZeroCode section, I'm sure you'll double your responses
__________________
____________________________\¦/
___________________________(ò ó)
______________________o0o___(_)___o0o__
___¦_____¦_____¦_____¦_____¦_____¦_____¦
¦_____¦_____¦_____¦_____¦_____¦_____¦__
___¦_____¦_____¦_____¦_____¦_____¦_____¦
¦_____¦_____¦_____¦_____¦_____¦_____¦__
Reply With Quote
  #3 (permalink)  
Old 06-17-2005, 12:12 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,922
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Hey Trader7,

This system can be create by pure ZeroCode. First jump directly to system logics step without setting up any indicator. And then, setup below logics:

Buy Logics:
AND Close[1]-Low[1] < 0.0015
AND Volume <= 10

Sell Logics:
AND High[1]-Close[1] < 0.0015
AND Volume <= 10

In the last step, set Take Profit to 25. That's it! simple
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #4 (permalink)  
Old 06-17-2005, 05:24 AM
TraderSeven's Avatar
Sophomore
 
Join Date: Jun 2005
Posts: 86
Thanks: 0
Thanked 1 Time in 1 Post
TraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of light
Talking

It worked at first try. Thanks man!

But it blows my account in a matter of days....
Little time right now but while the code looks ok the signals/backtest look wrong.

Example:
EURUSD
1 day bar
15 June 2005
Close=1.2123
High= 1.2133
That's within the 15 pips range so the sell on the next bar is correct.
There is arond 45 pips to be 'earned' on that bar but still the backtest gives me a loosing trade.

What's wrong......?
__________________
If your system fails just swap long & short :whistling
Reply With Quote
  #5 (permalink)  
Old 06-17-2005, 08:50 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,922
Thanks: 97
Thanked 361 Times in 147 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Like Gazuz said somewhere, don't backtest, just go ahead to live testing for a few days to confirm.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #6 (permalink)  
Old 06-17-2005, 02:57 PM
TraderSeven's Avatar
Sophomore
 
Join Date: Jun 2005
Posts: 86
Thanks: 0
Thanked 1 Time in 1 Post
TraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of light
Default

Ok, will do so. And report back in a week.

I'm very new to MetaTrader.
Is backtesting bugged?
__________________
If your system fails just swap long & short :whistling

Last edited by TraderSeven : 06-17-2005 at 03:02 PM.
Reply With Quote
  #7 (permalink)  
Old 06-18-2005, 10:29 AM
Ravique's Avatar
Super Moderator
 
Join Date: Sep 2004
Posts: 404
Thanks: 2
Thanked 1 Time in 1 Post
Ravique is a name known to allRavique is a name known to allRavique is a name known to allRavique is a name known to allRavique is a name known to allRavique is a name known to all
Send a message via Yahoo to Ravique
Default

TraderSeven. MT backtesting uses bar data , so theoretically the onlytrustable backtestedare for expertst forking with ohlc pricec. This is why in many cases backtestin is not effective. In mt4 ( we all hope ) tick data will be used, and backtesting will be more reliable.
__________________
Regards,
Ravique
Reply With Quote
  #8 (permalink)  
Old 06-18-2005, 11:17 AM
TraderSeven's Avatar
Sophomore
 
Join Date: Jun 2005
Posts: 86
Thanks: 0
Thanked 1 Time in 1 Post
TraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of lightTraderSeven is a glorious beacon of light
Default

That's clear. A system can't use intraday data when there is only EOD data.
That's the case on all platforms.

But if you look at my example you will see that a trade was possible.
The backtest only needed the OHLC data.

Just waiting for some RT trades is impossible IMO. Around 1 trade a week is generated. And the minimum system test is at least 100 trades IMO.
I'm not that patient So I programmed the system in ProSuite.
No better then break even.
But examining the winning bars shows theorecically there was more profit in them.
And the loosing bars show that they theorectically could have be winners if I had taken a smaller profit target.
Trailing stops are the solutions here. But (as you) say for that intraday data is needed.

Is it possible (with some script) to use 1 minute bars as intraday data when testing an 'EOD' system?
__________________
If your system fails just swap long & short :whistling

Last edited by TraderSeven : 06-18-2005 at 11:21 AM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The Only Simple Way To Win The Forex Market Revealed cfchai Classified Ads 8 03-07-2008 04:23 PM
Who'd have thought such a simple strategy woudl be so profitable sccz97 Trading Systems 11 02-22-2008 10:06 AM
ZeroCode: Create a simple MACD Cross expert scorpion Tutorials, Tips & Tricks 2 06-08-2005 03:23 PM


All times are GMT. The time now is 08:09 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now