I'd like to add a pop up to the indior to alert if the price gets to the trendline.
With this indior there is only a WAV sound. Ive looked about for an identical indior but found none.
https://www.nigeriaforextrading.com/...1623787544.mq4
I'd like to add a pop up to the indior to alert if the price gets to the trendline.
With this indior there is only a WAV sound. Ive looked about for an identical indior but found none.
https://www.nigeriaforextrading.com/...1623787544.mq4
Hello .... Quite possibly I am missing the point of the indior.... But to me that the code seems confusing....
Inserted Code ObjectCreate(TLineName, OBJ_TREND, 0, Time#91;25#93;, Bid, Time#91;0#93;, Ask);
that seems to set the perfect border of this trend line in Ask, which means that the lines
Inserted Code dual val=ObjectGetValueByShift(TLineName, 0); if (Bid-AlertPipRange*Stage lt;= val Bid AlertPipRange*Stage gt;= val) PlaySound(AlertWav);
will almost always be true when applied to a chart.... Is the indior working for you correctly....
If not, let us know what your after and we could code it for your specs...h
//--
//--
Inserted Code if (Bid-AlertPipRange*Stage lt;= val Bid AlertPipRange*Stage gt;= val) Alert (Symbol(), Period(), Trend Line Alert in , Bid );
Hi
it now displays a pop up that reads Tline Alert. . .for every pairing its attached.
Its own doesnt tell you exactly what pair the alarm is for
Not certain what you mean exaclty. Hayseed.
What I wanted was an easy trendline drawn on the
chart and when the price close price hits it in
the specified pip range a pop up box using EURUSD trendline breached for example
I cant find anything in this way.
https://www.nigeriaforextrading.com/...1162717996.mq4
hey .... This ought to inform the symbol and period....
I'll examine it when the market opens.... The first code stills seems confusing.... Holler back if any modifiions are needed...h
https://www.nigeriaforextrading.com/...6485324683.mq4
I am wondering where abouts on the line the price hits triggers the alert according to this program?
There are 3 nodes on the line. . .so its needs to be between the 3 nodes along the line _ 1_EXTENSION everywhere involving the Ideal hand node.FILE and the node
That is my concern too.... The right most point is set in the Ask price, which should mean it will alert in go....
Most trend lines have been drawn using values other than Bid and Ask.... They often will use highesthigh or lowestlows.... As well as the draw trend lines from there....
Bottom line is I do not think that indior, as it had been written originally, will achieve your goal.... But it must now give the emblem and time....
Kinda envision you need to choose your method of drawing on the line and then we could write something new all together....
I will post some examples later...h
This one includes a popup alert
https://www.nigeriaforextrading.com/...1745468655.mq4
1 Attachment(s)Open property Trendline and put in the distance of pips with Alert_NumberOriginally Posted by ;
Explanation is also given from the source code
/*
in property of trendlines place: Alert_Number (# = amount of pips that the alert must fire)
*/
Where abouts on the trendline does the awake kick in to the trendline using this alerter. I cant work out where its isOriginally Posted by ;