MACD Platinum
- This topic has 4 replies, 3 voices, and was last updated 7 years ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
Forums › ProRealTime Deutsch forum › ProBuilder Support › MACD Platinum
hallo vielleicht kann mir jemand helfen .
Ich möchte der MACD Platinum von nicolas so programieren das er mir die signale als pfeil im chart anzeit long und short richtung nur leider fehlt mir die kenntnis dazu.
mfg frank
Ich kann Ihnen helfen, Signale mit dem MACD Platinum-Indikator zu generieren, aber könnten Sie mir bitte besser erklären, welche Signale Sie daraus erhalten möchten?
Ich habe das so gelöst
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
//PRC_MACD Platinum | indicator //29.09.2016 //Nicolas @ www.prorealcode.com //Sharing ProRealTime knowledge // --- settings short = 12 long = 26 signal = 9 // --- end of settings EMAshort1 = exponentialaverage[short](close) EMAshort2 = exponentialaverage[short](EMAshort1) DifferenceShort = EMAshort1 - EMAshort2 ZeroLagShort = EMAshort1 + DifferenceShort EMAlong1 = exponentialaverage[long](close) EMAlong2 = exponentialaverage[long](EMAlong1) DifferenceLong = EMAlong1 - EMAlong2 ZeroLagLong = EMAlong1 + DifferenceLong ZeroLagMACD = ZeroLagShort - ZeroLagLong signal1=ExponentialAverage[signal](ZEROLAGMACD) signal2=ExponentialAverage[signal](signal1) DIFFERENCE2=signal1-signal2 SignalMACD=signal1+DIFFERENCE2 IF time >= 080000 and time<=210000 Then if signalMACD >= zerolagMACD and zerolagMACD crosses under signalMACD then drawarrowdown(barindex,high +4*pointsize)coloured(54,224,208) Endif If signalMACD <= zerolagMACD and zerolagMACD crosses over signalMACD then drawarrowup(barindex,low-4*pointsize) coloured (54,224,208) Endif Endif RETURN |
hallo ich möchte wenn der MACD ein signal anzeigt das es im Preischart über den Balken sichtbar wird als Pfeil.
Danke JohnScher👍 das wirklich top