You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I started to work wih a candlestick pattern recognition indicator which shows the different patterns on the charts. I would like to include in an EA signals from that indicator (i suppose using icustom) and the problem is that in the book the only think i could read is how to get variables int from the indicator, I mean the number in a line.But what about if i want to check when i have candlestick pattern....
I tried usin a sript for my EA the following:
int candlestickpatterns() // User-defined function
{
bool candlestick=iCustom(Symbol(),0,"Pattern_Recognition_Master",true,true,true,true,true,true,true,Red,8,true,true,true,true,true,true,Blue,8,true,true,Red,8,true,true,5,Blue,8,true,true,Red,8,true,true,Blue,8,true,true,Red,8,false,false,Blue,8);
// Calculation of trading criteria
if(Mas_Ord_New[0][0]==0 && candlestick==("HMR_4",0))
return(10); // Opening Buy
But it tells me is not the propper way.
Thanks a lot
A Starter.