logo

Replace big Candle with Candlesticks

Avatar
  • updated
  • Completed

Hi I´d like to make the suggestion to replace the big candle filter with these candlestick patterns. If possible as we reached the max inputs i believe? 


There´d the code: https://www.mql5.com/en/code/291 

If not possible I´m trying to find and an already build indictor so it can be used in the custom indicator tab. 

Avatar
0
Jerome Powell
Quote from Andrey Khatimlianskyi

Your settings don't look correct.

Try to start with current timeframe, without indicator inputs, with "In the direction of the last arrow" mode, and check all other parameters (why do you have LevelMaxS=0, DrawInSubwindow=true?).

I tried what you said thank you Andrey. But Now Buy/Sell is activated all the time. 

Candlestick2.set

I believe its because the indicator does not really sends an arrow. The colour of the "name" of the candlestick changes to Red for sell for example. 

Image 6088

Avatar
0
Andrey Khatimlianskyi
Quote from Jerome Powell

Candlestick.set

I tried to do it with the custom indicator, but its not getting the results. 

https://www.mql5.com/en/code/11432 ( i use that indicator) 


Thanks to Ulises Power Script, I was able to set the parameters ( big thank you) the indicator is indeed loading into the strategy tester but isnt buying or selling on the candles properly. 

"SetIndexBuffer(0,upArrow);
SetIndexBuffer(1,downArrow);" Also been set correctly in the parameters tab. 

Anyone help what I´ve been doing wrong? 


Thank you! 

Your settings don't look correct.

Try to start with current timeframe, without indicator inputs, with "In the direction of the last arrow" mode, and check all other parameters (why do you have LevelMaxS=0, DrawInSubwindow=true?).

Avatar
0
Jerome Powell
Quote from Andrey Khatimlianskyi

Yes, better to find a custom indicator with candlestick patterns and connect it to the EA.

As for the number of input parameters, I almost fixed that - all unnecessary parameters like GUI colours and line styles are loaded from the set file.

Thats my progress so far, but doesnt bring results. It pretty buys and sells randomly. Maybe because the Indicator not really prints any arrows?

Avatar
0
Jerome Powell

Candlestick.set

I tried to do it with the custom indicator, but its not getting the results. 

https://www.mql5.com/en/code/11432 ( i use that indicator) 


Thanks to Ulises Power Script, I was able to set the parameters ( big thank you) the indicator is indeed loading into the strategy tester but isnt buying or selling on the candles properly. 

"SetIndexBuffer(0,upArrow);
SetIndexBuffer(1,downArrow);" Also been set correctly in the parameters tab. 

Anyone help what I´ve been doing wrong? 


Thank you! 

Avatar
1
Andrey Khatimlianskyi

Yes, better to find a custom indicator with candlestick patterns and connect it to the EA.

As for the number of input parameters, I almost fixed that - all unnecessary parameters like GUI colours and line styles are loaded from the set file.