| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Custom Candle Stick Pattern https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4111 |
Page 1 of 2 |
| Author: | montyy [ Sun Feb 15, 2015 11:51 am ] |
| Post subject: | Custom Candle Stick Pattern |
Hi experienced traders, i'm looking for bull bull pattern.. in this previous candle and current candle both are bullish, but current candle engulf previous candle. I've tried to make it work Code: Select all and in addition i want bullish engulfing engulf previous two candle body. I hope someone will help.. |
|
| Author: | montyy [ Sun Feb 15, 2015 1:12 pm ] |
| Post subject: | Custom Candle Stick Pattern |
Hi peoples, I've used below file for code. i missed it on my first post. |
|
| Author: | milanese [ Sun Feb 15, 2015 1:22 pm ] |
| Post subject: | Custom Candle Stick Pattern |
Try the attached one I coded with your rules.. Cheers Tommaso |
|
| Author: | montyy [ Sun Feb 15, 2015 1:49 pm ] |
| Post subject: | Custom Candle Stick Pattern |
Sir, it showing me wrong signals. Here's a pic is it possible that, instead of arrow it shows me like this bottom pic? As sir, you can see bullish engulfing in red with just specific candle. |
|
| Author: | milanese [ Sun Feb 15, 2015 2:05 pm ] |
| Post subject: | Custom Candle Stick Pattern |
it does what your rule was in your code snippet... If you want an other rule define it better, you have now a simple base to play with .. Cheers Tommaso |
|
| Author: | milanese [ Sun Feb 15, 2015 2:57 pm ] |
| Post subject: | Custom Candle Stick Pattern |
maybe the attached mod matches more your first rule..., for second one just try yourself... the arrow code you could modify like you want look there --> http://docs.mql4.com/constants/objectco ... /wingdings you have a list of codes for arrows.. Cheers Tommaso |
|
| Author: | montyy [ Sun Feb 22, 2015 2:13 pm ] |
| Post subject: | Custom Candle Stick Pattern |
Hi, I tried to modfied it. first candle from right must engulf previous bullish candle body in case of bull bull pattern , as you can see after applying this code, no candle fulfulling condition. 1. both should be bullish C > O && C[i+1] > O[i+1] 2. first candle from right must engulf previous bullish candle(bull bull) Close>Close[i+1] && Open>Open[i+1] (Close-Open)>(Close[i+1]-Open[i+1]) but after applying this code, still it's not showing me correct pattern, i don't know why? for just checking, i tried to put this code for bull bull pattern Code: Select all one can think it's like same color harami .( in this first candle from right engulf previous bullish candle) i even draw the pic of pattern. after applying pic , you can see it, it's not engulfing same color candle, because i talked about bull bull.so bullish candle not engulfing previous candle body.those are up or down from the current candle. |
|
| Author: | SteveHopwood [ Sun Feb 22, 2015 10:23 pm ] |
| Post subject: | Custom Candle Stick Pattern |
Stop going into such complicated equations. Go for simplicity instead. In English, to save me thinking about the coding details that are up to you: Does candle shift 1 engulf candle shift2? Nope? Abandon the function. It did, so does candle shift 2 engulf candle shift3? Nope? Abandon the function. etc until you have interrogated as many candles as you want. Then, your code has got this far, so write code that deals with whatever happens next. Tip for you. I frequently fail to understand the code of the likes of Baluda here because it is so simple and clever that I simply cannot grasp it. I never fail to understand it because it has complicated equations within complicated equations within complicated equations; guys like Balude do not go in for them. When it comes to coding at our level, KISS reigns supreme. |
|
| Author: | Baluda [ Wed Feb 25, 2015 2:44 pm ] |
| Post subject: | Custom Candle Stick Pattern |
As we say in the Netherlands, Meaning problems can be solved in several ways. This is why I came up with this to identify engulfing candles: Code: Select all Ask away if the code is not clear enough. Enjoy, it is my birthday today. Paul |
|
| Author: | dudest [ Wed Feb 25, 2015 3:21 pm ] |
| Post subject: | Custom Candle Stick Pattern |
Happy birthday Sir Paul! Hope you enjoy it to the maxx!! Cheers ![]() |
|
| All times are UTC | Page 1 of 2 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|