Indicators with alerts/signal - page 1359

Julio
63
Julio  

Hi Mladen,

They would be so kind as to add the following alert to this indicator: alertson, alertsOnCurrent, alertsMessage, alertsSound, alertsNotify, alertsEmail, SoundFile, ShowArrows, arrowsUpperGap, arrowsLowerGap.

So that the conditions are met alerts should only show arrows When the fast (14,3,3) is at oversold stochastic levels (below 20) and the% K line crosses above the% D line the and when to the second slow stochastic (21,9,9) is at oversold levels (below 20) and the% K line crosses above the% D line the, We have a signal to buy calls.

When the fast and slow stochastic is at overbought levels (above 70) and the% K line crosses below the% D line We have a signal to buy puts.

Thanks alot for all the help.

Mladen Rakic
153864
Mladen Rakic  
vtcpa04:
The indicator below I believe you are referring to gives alerts upon MACD zero and signal crosses. I am looking for an indicator that generates arrows and alerts upon both a MACD zero cross and simultaneous price moving average cross. Regardless, your attempts to help me are greatly appreciated.

This is the code that is responsible for alerts :

First this

if (macd>0) cross = 1; if (macd<0) cross =-1;

And then this :

if (alertsOn)

{

if (alertsOnCurrent)

int whichBar = 0;

else whichBar = 1;

if (cross[whichBar] != cross[whichBar+1])

if (cross[whichBar] == 1)

doAlert("crossing up");

else doAlert("crossing down");

}

Alerts are triggered on macd crosses zero line, not when macd crosses signal line, as it is visible from that code

vtcpa04
1040
vtcpa04  
mladen:

This is the code that is responsible for alerts :

First this

if (macd>0) cross = 1; if (macd<0) cross =-1;

And then this :

Alerts are triggered on macd crosses zero line, not when macd crosses signal line, as it is visible from that code

Duly noted. Are you or is anyone else able to code an indicator that generates alerts and arrows upon both the aforementioned MACD zero line cross and simultaneous price moving average cross?

Mladen Rakic
153864
Mladen Rakic  
vtcpa04:

Duly noted. Are you or is anyone else able to code an indicator that generates alerts and arrows upon both the aforementioned MACD zero line cross and simultaneous price moving average cross?

You are looking for a cross of a price and and ma cross to happen at the same time as two mas cross (since ema is two emas cross). I hope that someone will really be able to code that for you

All the best

suat
358
suat  

,,,,,,,,,,,,,,,,,,

Mladen Rakic
153864
Mladen Rakic  
suat:
Sir can you add signal this my system? Thanks mr. mladen from now on:)

suat

That MACD is repainting. Better to use some correct version

kapoo
37
kapoo  

please have tried to make the arrow appear after the close of the signal candle in other to avoid repainting but all to no avail.

please help me out ,below are the attached.
kapoo
37
kapoo  
kapoo:

please have tried to make the arrow appear after the close of the signal candle in other to avoid repainting but all to no avail.

please help me out ,below are the attached.
please help me out mr tools and mr mland
kapoo
37
kapoo  

please have tried to make the arrow appear after the close of the signal candle in other to avoid repainting but all to no avail.

please  help me out  MR. TOOLS and MLADEN, below are the attached.
kapoo
37
kapoo  
below are the documents again