Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Search Results
Submitted by trendfriendpa Found 5 matching entries
Entries
Login to Download
MACD w Alerts, Arrows, Candlesticks and background Change Color
this is the MACD using 6-16-6 parameters.
When the MACD crosses up the candlestick and background change color.
When the MACD crosses down the candletick and background change color.
Alerts are trigger when the instance occurs. The arrows show on the first occurance.
The study is coded such by going into the the "edit" mode the colors of the arrows, candles and background can be changed to your preference.
RGB color codes can be found at https://www.rapidtables.com/web/color/RGB_Color.html
I am sure there are others where you one can find this information.
Study name describes its functions
Category ThinkOrSwim
1302
trendfriendpa
Login to Download
MACD Dots on Crossover
# Waylock - 11/5/12 - [email protected]
# MACD Dots on Price Chart
# Shows Primary Signals only. Once a BuyAlert is issued another BuyAlert cannot be issued until after a SellAlert has been issued, etc.
# Change Displace value below to adjust where Dots are placed on the Price Chart
input displace = .001;
input fastLength = 6;
input slowLength = 16;
input MACDLength = 6;
input AverageType = {SMA, default EMA};
def Value = MACD(fastLength, slowLength, MACDLength, AverageType).Value;
def Avg = MACD(fastLength, slowLength, MACDLength, AverageType).Avg;
def BuyAlert = Value > Avg;
def SellAlert = Value <= Avg;
rec count=if BuyAlert==1 and count[1]==0 then 1 else if SellAlert==0 and count[1]>=1 then count[1]+1 else 0;
rec count1=if SellAlert==1 and count1[1]==0 then 1 else if BuyAlert==0 and count1[1]>=1 then count1[1]+1 else 0;
def PrimaryBuyAlert = BuyAlert==1 and count==1;
def PrimarySellAlert = SellAlert==1 and count1==1;
plot DotUp = if PrimaryBuyAlert then Low * (1 - displace) else double.nan;
DotUp.SetPaintingStrategy(PaintingStrategy.POINTS);
DotUp.SetDefaultColor(Color.BLUE);
DotUp.SetLineWeight(5);
DotUp.HideBubble();
DotUp.HideTitle();
plot DotDn = if PrimarySellAlert then High * (1 + displace) else double.nan;
DotDn.SetPaintingStrategy(PaintingStrategy.POINTS);
DotDn.SetDefaultColor(Color.YELLOW);
DotDn.SetLineWeight(5);
DotDn.HideBubble();
DotDn.HideTitle();
Category ThinkOrSwim
1299
trendfriendpa
Login to Download
MACD Colored Candles on Crossover
Atttached file uses the parameters 6-16-6 EMA vs the code parameters below.
# Waylock on [email protected]
# created 11/5/12
input fastLength = 12;
input slowLength = 26;
input MACDLength = 9;
input AverageType = {SMA, default EMA};
def Value = MACD(fastLength, slowLength, MACDLength, AverageType).Value;
def Avg = MACD(fastLength, slowLength, MACDLength, AverageType).Avg;
# Changes color of bars
AssignPriceColor(if Value > Avg then Color.LIME else if Value < Avg then
color.MAGENTA else color.current);
Category ThinkOrSwim
1297
trendfriendpa
Login to Download
CCI Cloud Histogram
Version 1 - CCI Cloud audible alerts. To have arrows placed on your chart, download the CCI Cloud Arrrows study.
Go to download called CCI - Arrows for the chart arrows to appear.
Category ThinkOrSwim
1257
trendfriendpa
Login to Download
CCI Cloud Arrows
Version 1 - CCI Cloud with arrows. This study only places arrows on your chart. You will need to import the study CCI for the histogram shown in the screenshot.
Go to download called CCI Cloud for the subgraph historgram.
Category ThinkOrSwim
1256
trendfriendpa