Could someone help in fixing this issue. When I load the attached indicator, I am getting below error message.
Attached File(s)
anchorfx.mq4
6 KB
|
294 downloads
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} fbrand79- You'll need something like this //add at top before Init() function datetime bartime=0; //add to start function if(bartime!=Time[0]){ bartime=Time[0]; //put alert code here }Ignored
if(Close[i+1]>UPAbove && Close[i]<UPBelow && rsi_prev>obZone) { downArrow[i]=High[i]; if(!sellBandCross && SoundAlert)Alert(Symbol()+" => "+_Period+"MIN >>Sell Alert<<"); sellBandCross = true; } if(Close[i+1]<LOBelow && Close[i]>LOAbove && rsi_prev<osZone) { upArrow[i]=Low[i]; if(!buyBandCross && SoundAlert)Alert(Symbol()+" => "+_Period+"MIN >>Buy Alert<<"); buyBandCross = true; } }//end of for loop if(NewBar()) { sellBandCross=false; buyBandCross=false; } return(rates_total); } //+------------------------------------------------------------------+ bool NewBar() { static datetime preTime=0; if(iTime(Symbol(),Period(),0)!=preTime) { preTime=iTime(Symbol(),Period(),0); return (true); } else return (false); }
DislikedCould someone help in fixing this issue. When I load the attached indicator, I am getting below error message. {image} {file}Ignored
Disliked{quote} cyber1 I tried that which you gave me but it only gives a bunch of alerts for the first second, and it alerts with every bar. I managed to find an old indi that only alerts once, but now it alerts with every bar, and ain't even considering my if statement. Please have a look where am I going wrong. I need it to only alert once, or even everytime it breaches as per conditions(whichever is easier), but it shouldn't alert on every tick. if(Close[i+1]>UPAbove && Close<UPBelow && rsi_prev>obZone) { downArrow=High; if(!sellBandCross &&...Ignored
Disliked{quote} hi, u can add your own lot as many as you want {file} {file}Ignored
Disliked{quote} I fixed one small obvious code error and compiled it on build 902 also note the object delete function is not very well written and uses ObjectsDeleteAll() to remove the lines and labels so it will delete most things off a chart when removed. {file}Ignored
Disliked{quote} Thank you very much. Is it possible to remove the delete objects. If we remove the delete object function what will be the impact.Ignored
DislikedHi anyone could assist me. I just need an advice if MQL4 OBJECT function can find and get object price and time without know the object name. The scenario is one indicator is attached on chart, then indicator would paint support and resistance area, and i want to get the area price. Because i need to build a EA. Thanks !Ignored
DislikedMy humble request to all great/master coder.......please make one indicator with given 3 indicator combine/include in one indicator i want see/check..daily /weekly ..monthly pivot at a glance(it is a part of my daily trading TA) .it will be great if it has on/off or true /false..color/line change options... to see individuality daily/weekly/mn pivot too.thanks in advance Post 421 {file} {file} {file}Ignored
Disliked{quote} Hello madshark, Thank you for help me. The script didn't work when I put SL and/or TP =0 0 is because SL is not needed as I'm experimenting with mirror orders.Ignored
Disliked{quote} maybe so: for(int i=0; i<ObjectsTotal(); i++) { string name =ObjectName(i); double v1 =ObjectGet(name, OBJPROP_PRICE1); double v2 =ObjectGet(name, OBJPROP_PRICE2); double t1 =ObjectGet(name, OBJPROP_TIME1); double t2 =ObjectGet(name, OBJPROP_TIME2); } but you need to know the object name: double click the place of object , then right click it, you can see the object name. this is in my humble opinion.Ignored
Disliked{quote} hope this can help. i don't remember where i got this code. found it on my drive {file}Ignored