Icustom - page 2

 
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 <<<
 

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.

Files:
fisher_m11.jpg  134 kb
 

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.

Files:
 

Icustom

is icustom a program like gordago for download?

 

It's a function in MQL. Check the help file.

Lux

 

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)

{

 
postfin:
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.

 
tiger_wong:
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

 
postfin:
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.

 

Question about writing an iCustom()

When writing an iCustom indicator, can you call another iCustom indi from within an iCustom?

Reason: