#11 (permalink)  
Old 06-16-2005, 11:08 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,992
Thanks: 125
Thanked 383 Times in 152 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

TraderSeven, I can code your system in mql by using both ZeroCode and Expert Editor. But I don't understand how can you plot the 2% shift MAs on the chart.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #12 (permalink)  
Old 06-16-2005, 11:40 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
Thumbs up

Many thanks for helping out scorpion!
I just adapted the moving average code thats included with MT.
Basicly I calculate the moving average in the normal way.
But before plotting/using it I multiply the calculated value by 1.02 or 0.98



Quote:
//+------------------------------------------------------------------+
//| Simple Moving Average |
//+------------------------------------------------------------------+

{
double sum=0;
int i,pos=Bars-ExtCountedBars-1;
//---- initial accumulation
if(pos<MA_Period) pos=MA_Period;
for(i=1;i<MA_Period;i++,pos--)
sum+=Open[pos];
//---- main calculation loop
while(pos>=0)
{
sum+=Open[pos];
ExtMapBuffer1[pos]=(sum/MA_Period)*1.02;
ExtMapBuffer2[pos]=((sum/MA_Period)*1.02)-0.0030;
ExtMapBuffer3[pos]=(sum/MA_Period)*0.98;
ExtMapBuffer4[pos]=((sum/MA_Period)*0.98)+0.0030;
sum-=Open[pos+MA_Period-1];
sumH-=High[pos+MA_Period-1];
pos--;
}
It would be very nice if you could get this working!
Using visual inspection (in MetaStock) shows that there is a lot of tweaking possible.
For example instead of using Open use High for the upperband and Low for the lower band.
The 2% could also be changed into 2.5% for example.
Instead of a simple MA a weighted/hull MA.
The variations are endless. And impossible to manually test on 8 years of data.

I'm not trying to push you into more work.
I'm just informing you so you don't have to recode everything lateron and save time on the whole.
Assuming you want to code the extras too.
Anyway the very basic verion would make me happy. Maybe even rich

Last edited by TraderSeven : 06-16-2005 at 11:43 AM.
Reply With Quote
  #13 (permalink)  
Old 06-16-2005, 11:49 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

TS, how did you came up with theese numbers? ( 1,02 and 0,98 ) . Are theese in some connection with fibs or pivots or something like that?
__________________
Regards,
Ravique
Reply With Quote
  #14 (permalink)  
Old 06-16-2005, 12:29 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

Stop asking difficult questions!

I really don't know. I spend a lot of time reading books, articles, websites, etc.
Somewhere along the line I picked it up.
I seems to work best for the major pairs. Not the smaller ones.
The numbers are just guidelines. A good 1st guess to start backtesting with.
An extra 0.5% gives diffrent results. If the are better depends on the typeof trader you are.
2% looks good for me because I want to sacrifice profits for less drawdown.
While 1.5% is more agressive.

It are exaustion levels. The way I see it...
The major pairs follow a pattern set by huge influences. The general US/EU economy.
Sometimes the prices spike a bit because Greenspan changed his underware I think
That spike is what I like to catch. But soon traders realise that the fact that Greenspans report fell 0.0001% short from expectation is no big deal and things return to usual. Back into the trading channel.

A car analogy:
A small car (small pair) drives from A to B (trend)
Suddenly a strong wind hits the car sideways. The car breaks out of its track (trading range) and possible gets out of control.

A huge truck loaded with steel (major pairs) drives on the same road.
Most of the time the wind has no effect on it at all.
But sometimes the truck swings a bit (spikes outside the trading channel) . But due to its massive weight the effect wears of quickly.


It's always good to know why things happen. But in my years I learned that some things are hard to understand. But who cares why if it works.
If history shows forex movement is related to traffic jams in Peking I'll follow that system

Last edited by TraderSeven : 06-16-2005 at 12:33 PM.
Reply With Quote
  #15 (permalink)  
Old 06-25-2005, 10:53 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

Quote:
Originally Posted by scorpion
TraderSeven, I can code your system in mql by using both ZeroCode and Expert Editor. But I don't understand how can you plot the 2% shift MAs on the chart.
Any progress?
That's if you had time and started with it
__________________
If your system fails just swap long & short :whistling
Reply With Quote
  #16 (permalink)  
Old 06-25-2005, 05:49 PM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,992
Thanks: 125
Thanked 383 Times in 152 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

Hmm... I thought I compile this system a while ago. Let's me check my hdd.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #17 (permalink)  
Old 12-11-2007, 01:18 AM
Freshman
 
Join Date: Sep 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
tukul love 4x is on a distinguished road
Default

Hello,
we are very happy with this Forum and i hope very helpfull in several trouble trading.We are so confuse I wanna make EA with powerfull profit and Stable
but I don't have best code to do it.Please Give me Your code so that we could make EA that give me stable perfomance in profit.Any Idea that we really confuse about all indicator in MT4 .We are setup all indicator in 100 for ALL 4 example 100 CCi,100 RSi,100 MFi,100 demarker.etc in low tF but it's maybe not wrong direction BUT who want repair it so that this diurection stable in Profit for my EA...???Hi..............All member please help me to coding Best EA and Perfomance or stable EA??
Reply With Quote
can I have one copy please please please...
  #18 (permalink)  
Old 03-25-2008, 04:57 AM
Freshman
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Robocopfish is on a distinguished road
Default can I have one copy please please please...

Quote:
Originally Posted by Ravique View Post
Gazuz, by the way, i have sent you the expert mentioned in an other thread to your hotmail email,, did you get it?
May I have one of your copy please... Thanks.
Reply With Quote
  #19 (permalink)  
Old 03-28-2008, 01:18 AM
Freshman
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
orazly is on a distinguished road
Default

hi everybody can someone give the best free ea thank
Reply With Quote
  #20 (permalink)  
Old 03-28-2008, 01:30 AM
Freshman
 
Join Date: Jan 2008
Posts: 18
Thanks: 2
Thanked 1 Time in 1 Post
hetfield is on a distinguished road
Default

Maybe you scorpion, or someone there who knows schedule would not make a EA from brain trend indicators? They have had a good performance with many traders. Add a EA to open orders for the purchase and sale once the signal leaving the indicator would be of great help.
Since already Thanks
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
Who'd have thought such a simple strategy woudl be so profitable sccz97 Trading Systems 11 02-22-2008 11:06 AM
Analyse your experts with Arrows scorpion Tutorials, Tips & Tricks 4 09-01-2006 04:12 PM
The strategy of profitable commerce on Forex currency pair GBP/USD samuray Classified Ads 2 05-07-2006 08:18 PM
The starter System Profitable TurboTrader24 Trading Systems 3 11-05-2005 03:46 PM
Generosity is more profitable than avarice. Ravique Issues 2 09-15-2004 06:55 PM


All times are GMT. The time now is 07:26 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

Main Menu

Economic Forecast