Vucking good EA coder... https://t.ly/AZjRM
#14 All Time Return:
483.3%
MT4 candle-by-candle manual backtesting 9 replies
Indicator for average candle size for up or down candle? 1 reply
How to make EA that send Open Price of Candle for every new candle 5 replies
Day's first H4 candle correlation to daily candle 14 replies
Correlation between first 4 hour candle and daily candle 1 reply
DislikedWith this indicator U see the signals of 2 pattern...just a start=test...what is the best condition to verify a falling market before? - X pips down the last Y candles? - EMA criteria? - Slope of EMA? - Zigzag with LLs? Tell me ur ideas! {file}Ignored
DislikedWhile coding and searching...I don t see many signals like morning star...for me not worth the time....i would focus on "normal" morning stars like bearish candle, doji...and bullish.... As i looked on the chart...why not take dojis and buy sell stops on high and low? Does anyone trade this?Ignored
DislikedWhile coding and searching...I don t see many signals like morning star...for me not worth the time....i would focus on "normal" morning stars like bearish candle, doji...and bullish.... As i looked on the chart...why not take dojis and buy sell stops on high and low? Does anyone trade this?Ignored
Disliked{quote} Most 50%(except the ones with less than 5 which is NOT significant!)...so U can also throw a coin.... {image} {image}Ignored
Disliked{quote} Seems like we might be diverging from the original idea of this thread. The original idea was there is already a service which provides you signals for like 84 patterns for 20 of the pairs.Ignored
Disliked{quote} Unless you want to do deep analysis of past performance you get this service for practically free.Ignored
Disliked{quote} It seems like you are generating a EA to automate certain things.....Ignored
Disliked{quote} JayDavis, reteid2222, What are we trying to do here? Seems like we might be diverging from the original idea of this thread. The original idea was there is already a service which provides you signals for like 84 patterns for 20 of the pairs. You can take those trades every day after the Daily candle has closed. Unless you want to do deep analysis of past performance you get this service for practically free. The process of taking or not taking any trades that they suggest each day should not take more than 15 min each day. It seems like...Ignored
Disliked{quote} but to my understanding its a HUGE effort to include all the patternsIgnored
//************************************************************************* // bullHammer //************************************************************************* bool bullHammer(int i, double &buyVal, double &slVal){ bool isSignal; buyVal=Close[i]+distFrombuy*Point; slVal=Low[i]-distFromSL*Point; return candle.green(i) // Candle is green && Open[i]-Low[i]>2*(Close[i]-Open[i]) // Shadow has to be min 2 times of the size of body && 4*(High[i]-Close[i])< candle.fullLength(i) // Wick has to be short ; return true; }
Disliked{quote} I don t know what U r doing...I just want to get the best performance in %! {quote} Yes but i prooved it for myself that it is not significant more than throwing a coin 4 entry=50% {quote} I think it is a paid service.... {quote} U r right...100% automating....hearing my lessons in university while my EA is working like slaves building the pyramids in former times... Nevertheless thanks to everyone who gave me information here.... I think what best works are the reversals on S/R lines....and I will code this... {quote} {quote} One pattern...Ignored
Disliked{quote} I don t know what U r doing...I just want to get the best performance in %! {quote} Yes but i prooved it for myself that it is not significant more than throwing a coin 4 entry=50% {quote} I think it is a paid service.... {quote} U r right...100% automating....hearing my lessons in university while my EA is working like slaves building the pyramids in former times... Nevertheless thanks to everyone who gave me information here.... I think what best works are the reversals on S/R lines....and I will code this... {quote} {quote} One pattern...Ignored
Disliked{quote} I also want to adknowledge and appreciate you interest and analysis. If you don't mind could you post the rest of your code so we could chew on it.Ignored
#property indicator_chart_window #property indicator_buffers 2 double BufferUp []; double BufferDn []; #include <Retina - Classes\Retina_Class_CCandleSticker_V1.00.mqh> CCandleSticker candlesticker(0,0,true); enum ENUM_CANDLESTICKER { ENUM_CANDLESTICKER_BULL_HAMMER, // Bull hammer ENUM_CANDLESTICKER_BULL_BELTHOLD, // Bull belt hold }; input string strSettingsCandleSticker="============== Settings for Candle Stickers ====";//_ input int maxCandles=70; // Max numbers of candles input ENUM_CANDLESTICKER typeOfCandleStickers=ENUM_CANDLESTICKER_BULL_HAMMER; // Type of candlestick input bool drawBuySL=true; // draws buy/sl levels // *************************************************************************************************************************************** // init // *************************************************************************************************************************************** int init(){ IndicatorBuffers(2); SetIndexBuffer (0, BufferUp); SetIndexBuffer (1, BufferDn); SetIndexStyle (0 , DRAW_ARROW, EMPTY, 2, clrLightGoldenrod); SetIndexStyle (1, DRAW_ARROW, EMPTY, 2, clrCornflowerBlue); SetIndexArrow (0,171); SetIndexArrow (1,171); return(0); } // *************************************************************************************************************************************** // start // *************************************************************************************************************************************** int start(){ int limit; limit = MathMin(Bars - 1,maxCandles); limit=1000; double buyVal, slVal; CLine line(); line.destroyAll("lin"); for (int i = limit ; i >=0; i--){ if (buySignal(i,buyVal, slVal)){ BufferUp[i]=Low[i]-20*Point; if (drawBuySL) candlesticker.drawTradingLines(i,buyVal, slVal); } //BufferDn[i]=High[i]+20*Point; } return(0); } bool buySignal(int i, double &buyVal, double &slValue){ return (candlesticker.bullHammer(i,buyVal, slValue) && typeOfCandleStickers==ENUM_CANDLESTICKER_BULL_HAMMER) || (candlesticker.bullBeltHold(i,buyVal, slValue) && typeOfCandleStickers==ENUM_CANDLESTICKER_BULL_BELTHOLD) ; }
#include <Retina - Classes\Retina_Class_PriceAction_V2.02.mqh> #include <Retina - Classes\Retina_Class_Objects_V1.10.mqh> // *************************************************************************************************************************************** // Candle Pattern Functions // *************************************************************************************************************************************** class CCandleSticker { private: int distFrombuy; int distFromSL; bool drawBuySL; CCandle candle; public: //************************************************************************* // CCandleSticker //************************************************************************* void CCandleSticker(int pdistFrombuy=0, int pdistFromSL=0,bool pdrawBuySL=false){ distFrombuy=pdistFrombuy; distFromSL=pdistFromSL; drawBuySL=pdrawBuySL; }; //************************************************************************* // bullHammer //************************************************************************* bool bullHammer(int i, double &buyVal, double &slVal){ bool isSignal; buyVal=Close[i]+distFrombuy*Point; slVal=Low[i]-distFromSL*Point; return candle.green(i) // Candle is green && Open[i]-Low[i]>2*(Close[i]-Open[i]) // Shadow has to be min 2 times of the size of body && 4*(High[i]-Close[i])< candle.fullLength(i) // Wick has to be short ; return true; } //************************************************************************* // bullBeltHold //************************************************************************* bool bullBeltHold(int i, double &buyVal, double &slVal){ buyVal=Close[i]+distFrombuy*Point; slVal=Low[i]-distFromSL*Point; return candle.green(i) // Candle is green && 10*(candle.wick(i)) < candle.fullLength(i) // Nearly no wick && candle.fullLength(i)*0.7<= candle.body(i) // Body min 70% ; } //************************************************************************* // drawTradingLines //************************************************************************* void drawTradingLines(int i,double buyVal, double slValue){ string strNameBuy="linBuy "+TimeToStr(Time[i],TIME_DATE|TIME_MINUTES); string strNameSL="linSL "+TimeToStr(Time[i],TIME_DATE|TIME_MINUTES); CLine lineNameBuy(clrLightGoldenrod,2); lineNameBuy.draw(strNameBuy,Time[i],buyVal,Time[i]+300*Period(),buyVal); CLine lineNameSL(clrCornflowerBlue,2); lineNameSL.draw(strNameSL,Time[i],slValue,Time[i]+300*Period(),slValue); } };
DislikedHave you tried applying the patterns to lower time frames? I think that you are using too high of a leverage for the daily chart, but high leverage is perfectly achievable in smaller time frames where your stop losses will be tighter. Just a thought. I trade only M5 at 400:1, but it would be pretty scary using that kind of leverage just from daily chart patterns. Best wishes,Ignored
DislikedI just bought the consistent trader by Sam and I am reading through. Are there tips on how to maximise the reading so that i get the best out of the bookIgnored