Forex
Google
New signals service!

Go Back   Forex Trading > Metatrader Training > Metatrader 4 mql 4 - Development course > Questions


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 07-21-2006, 11:13 PM
Member
 
Join Date: Dec 2005
Posts: 71
richx7 is on a distinguished road
I think SolarWind is one of the best indicator I have seen. I have been testing it and find it gives excellent buy sell exit signals. Here is a version that doesn't repaint. It uses previous data to smooth out the current bar but does add some delay. It is useful for live trading and in EAs. It works good with triggerlines and awesome indicators.
Attached Files
File Type: mq4 Fisher_m11.mq4 (6.0 KB, 38 views)

Last edited by richx7; 08-21-2006 at 06:45 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 08-08-2006, 10:22 PM
iscuba11's Avatar
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 400
iscuba11 is on a distinguished road
Smile

Your new versions of solar wind redraw themselves also! Take a snapshot of the screen on 5 minutes, and then another 1 hour or two later! Got any other solutions to the redraw problem?? I would really like to fix this problem if possible.

Dave
<><<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 08-09-2006, 06:51 AM
iscuba11's Avatar
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 400
iscuba11 is on a distinguished road
Red face

Quote:
Originally Posted by richx7
I think SolarWind is about the best indicator I have seen. I have been testing it in timeframes down to 1min and find it gives excellent buy sell exit signals. It does redraw previous bars however and can be a problem for EAs especially in backtesting. I have enclosed SolarWind2 (renamed from Fisher_Yur4ik_2.mq4) and the solar1 with alert coding, I have tested solar2 and found it does not redraw previous bars and consider it a much better indicator. Just using this in an EA with a timer to trade only in the morning should give excellent profits with few losses (if any). I hope someone can make this EA and thanks in advance.

I have an EA ready, but none of the modified versions work. The original solar wind entry and exit is great except it redraws itself and nullifies the filter mechanism of the EA (By levels, plus you cannot optimize the period settings because of the redraw problem). The modified versions that I have seen are late in entry and exit, and create a ton of false entry and exits.

Dave
<><<<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 08-19-2006, 07:32 AM
Member
 
Join Date: Dec 2005
Posts: 71
richx7 is on a distinguished road
Here is a SolarWind (fisher transform) that doesn't repaint and can be used for live trading and EAs. Smooth is set to .3 and uses back data to smooth out the histogram but adds some delay - setting it to 0 will give faster results but can be choppy. Periods is set to 10 and using higher values will smooth out the display also. It would make a good profitable EA if done properly. It follows triggerlines closely, and Fisher is on the bottom window in green and red.
Attached Images
File Type: jpg fisher m11.jpg (133.6 KB, 256 views)
Attached Files
File Type: mq4 Fisher_m11.mq4 (6.0 KB, 53 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 08-09-2007, 10:18 PM
Junior Member
 
Join Date: Jul 2006
Posts: 2
personkid is on a distinguished road
Icustom

is icustom a program like gordago for download?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 08-09-2007, 11:28 PM
Senior Member
 
Join Date: Nov 2006
Posts: 179
luxinterior is on a distinguished road
It's a function in MQL. Check the help file.

Lux
__________________
Build An Expert Advisor. FREE E-course As Seen On TV
ForexArea.com
Users of Gap Trader from 'Forex-Assistant' MUST Read This
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 11-19-2007, 03:00 PM
Junior Member
 
Join Date: Oct 2005
Posts: 12
postfin is on a distinguished road
icustom ! indicator -> ea

good morning, is a beginner of the language mq4, I would appreciate a help, I in advance thank!

the indicator has two variables:

bool TurnedUp = false
bool TurnedDown = false

how to use the function icustom in the EA, to read the values of TurnedUp and TurnedDown?


iCustom(Symbol(),"postfin",0,TurnedUp,0,0,0); ....
iCustom(Symbol(),"postfin",0,TurnedDown,0,0,0);


.....my probations, not working, possible because it deals with "bool" ??

part EA and error ..

//+------------------------------------------------------------------+
//| EXPERT BASIC CALCULATION |
//| START HERE |
//+------------------------------------------------------------------+


iCustom(Symbol(),"postfin",0,TurnedUp,0,0,0);
iCustom(Symbol(),"postfin",0,TurnedDown,0,0,0);

//EnterLong = TurnedUp;
// EnterShort = TurnedDown;




// EnterLong = true;
// if( TurnedUp == true ) EnterLong== true;
// EnterShort = TurnedDown;
//}
//if(icustom(Symbol(), "postfin","TurnedUp",0,0) == True && EnterLong== 1 )
//{



//+------------------------------------------------------------------+
//| EXPERT BASIC CALCULATION |
//| END HERE |
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
//| YOU SHOULD NOT HAVE TO MODIFY ANYTHING BELOW THIS BOX |
//+------------------------------------------------------------------+

// ENTER LONG CONDITION
if(EnterLong == true && CountLongs(MagicNumber)== 0)
{
Attached Files
File Type: mq4 BBANDS~1.MQ4 (5.7 KB, 10 views)
File Type: mq4 Patrick's Expert Template.mq4 (14.6 KB, 11 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 11-20-2007, 11:42 AM
Member
 
Join Date: Nov 2006
Posts: 94
tiger_wong is on a distinguished road
Quote:
Originally Posted by postfin View Post
good morning, is a beginner of the language mq4, I would appreciate a help, I in advance thank!

the indicator has two variables:

bool TurnedUp = false
bool TurnedDown = false

how to use the function icustom in the EA, to read the values of TurnedUp and TurnedDown?


iCustom(Symbol(),"postfin",0,TurnedUp,0,0,0); ....
iCustom(Symbol(),"postfin",0,TurnedDown,0,0,0);


.....my probations, not working, possible because it deals with "bool" ??

part EA and error ..

//+------------------------------------------------------------------+
//| EXPERT BASIC CALCULATION |
//| START HERE |
//+------------------------------------------------------------------+


iCustom(Symbol(),"postfin",0,TurnedUp,0,0,0);
iCustom(Symbol(),"postfin",0,TurnedDown,0,0,0);

//EnterLong = TurnedUp;
// EnterShort = TurnedDown;




// EnterLong = true;
// if( TurnedUp == true ) EnterLong== true;
// EnterShort = TurnedDown;
//}
//if(icustom(Symbol(), "postfin","TurnedUp",0,0) == True && EnterLong== 1 )
//{



//+------------------------------------------------------------------+
//| EXPERT BASIC CALCULATION |
//| END HERE |
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
//| YOU SHOULD NOT HAVE TO MODIFY ANYTHING BELOW THIS BOX |
//+------------------------------------------------------------------+

// ENTER LONG CONDITION
if(EnterLong == true && CountLongs(MagicNumber)== 0)
{
Hello,
I notice that you want to use BBStop as your indicator in the EA.
From my experience, the syntax should be

Trend = iCustom(NULL,0, "BBands_Stop_v1", Length, Deviation, MoneyRisk, 1, 1);

while Trend > 0 it was downtrend (bearish)
while Trend < 0 it was uptrend (bullish)

hope this can help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 11-20-2007, 03:44 PM
Junior Member
 
Join Date: Oct 2005
Posts: 12
postfin is on a distinguished road
Quote:
Originally Posted by tiger_wong View Post
Hello,
I notice that you want to use BBStop as your indicator in the EA.
From my experience, the syntax should be

Trend = iCustom(NULL,0, "BBands_Stop_v1", Length, Deviation, MoneyRisk, 1, 1);

while Trend > 0 it was downtrend (bearish)
while Trend < 0 it was uptrend (bullish)

hope this can help.
Hello Tiger !

tanks, ask, is possible reading in EA variables BBband

bool TurnedUp = true/false
bool TurnedDown = true/false

tanks for help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 11-21-2007, 03:01 AM
Member
 
Join Date: Nov 2006
Posts: 94
tiger_wong is on a distinguished road
Quote:
Originally Posted by postfin View Post
Hello Tiger !

tanks, ask, is possible reading in EA variables BBband

bool TurnedUp = true/false
bool TurnedDown = true/false

tanks for help
Hello Postfin,

May I know what is your purpose to use bool TurnedUp/Down = true/false?

I think we use the BBandsStop indicator is to find what is the trend and the support/resistance... But I don't know if you have a different purpose.

Your very welcome.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Easy iCustom and Alerts! codersguru Indicators - Metatrader 4 50 09-18-2008 01:02 PM
iCustom function homicida Questions 56 07-28-2008 09:57 AM
iCustom question .. yaniv_av Indicators - Metatrader 4 16 06-20-2008 04:37 PM
I need help on creating an Icustom statement for my EA using this indicator as input! iscuba11 Expert Advisors - Metatrader 4 4 09-11-2006 07:18 PM
iCustom() problem billritz Indicators - Metatrader 4 5 08-23-2006 07:22 AM


All times are GMT. The time now is 07:22 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.