I am looking for an indi that just gives me the name of the pattern when I form the triangles.
Here are some pictures from the video:
I will code your pivot EAs for no charge 23 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
Disliked{quote} In the first one change line 28 from this : extern color MID.Line_clr = White; to this : extern color MIDLine_clr = White; or delete it completely since that parameter is not used at all in the rest of the codeIgnored
Disliked{quote} sound like csDASH by honestknave, is this what are you looking for? {image}Ignored
DislikedHi, I had previously asked a similar question, but because my need changed I am asking again. I want to count number of bars from a specified date/time to current time. For ex. if specified time is 1 Mar 2018 07:00PM, then while calculating the indicator value on 2 Mar 02:12 AM the bar count should be taken 8 (hourly chart), 9 at 03:01 AM, and so on. I want to know which function I should use and how? I think its 'Bars', but I don't know what parameters to put in or how to use it. Can someone please help with this and tell me the solution? I would...Ignored
Disliked{quote} but you can do it with middle mouse click, or CTRL+F, and drag to wherever you want. and you'll find number like 10/20/1.2345 , 10 is number of bars (left/right) from specific time to whatever time, 20 is pips (up/down), 1.2345 is priceIgnored
Disliked{quote} I am trying to build an indicator and in that indicator while doing calculations I need to do this. Not manually, but through an indicator. If you could kindly tell me the solution, it would be really helpful. Thanks.Ignored
#property indicator_chart_window
#property indicator_buffers 1
#property indicator_color1 DodgerBlue
double dMarker[];
extern int MarkedBar = 50;
int init() {
SetIndexBuffer(0,dMarker);
SetIndexStyle (0,DRAW_ARROW);
SetIndexArrow (0,242);
}
int start() {
for (int i=Bars-1;i>=0;i--) {
if(i == MarkedBar)
dMarker[i] = High[i];
else
dMarker[i] = EMPTY_VALUE;
}
return(0);
}
Disliked{quote} mod this code : #property indicator_chart_window #property indicator_buffers 1 #property indicator_color1 DodgerBlue double dMarker[]; extern int MarkedBar = 50; int init() { SetIndexBuffer(0,dMarker); SetIndexStyle (0,DRAW_ARROW); SetIndexArrow (0,242); } int start() { for (int i=Bars-1;i>=0;i--) { if(i == MarkedBar) dMarker[i] = High[i]; else dMarker[i] = EMPTY_VALUE; } return(0); }Ignored
Disliked{quote} because your indicator arrow lately appear, so it is not a good indicator to use, if you want to use, you will face these problems. i suggest you use some technical indicator to filter your ea.Ignored
Disliked@MEXGT4: Instead of if(MSS1>MSS2)SBUY="true";if(MSS2>MSS1)SSEL="true"; Try: if(MSS1>MSS2 && MSS1a!=EMPTY_VALUE)SBUY="true";if(MSS2>MSS1 && MSS2a!=EMPTY_VALUE)SSEL="true"; That way it check for the arrow as well.Ignored
Disliked{quote} Thanks for the quick reply nwesterhuijs. It fixed the 1 entry per signal until the next signal. My problem now is that when I set my SL and TP to be above 1000pips, the EA does not take any Buys. In some pairs it takes a couple of sells with no buys and then it takes a couple of buys with no sells. Previously, the EA was on point. It never missed a buy or sell signal regardless of the SL, TP and TS size. Please helpIgnored