Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
Tutorial 215 | Alert when MACD crosses a line drawn on chart
Description
Tutorial 215 is a tutorial for Tradestation EasyLanguage that demonstrates how to calculate and plot the value of the Moving average convergence-divergence value (MACD), the average of the MACD and the difference between the MACD and the average of the MACD. This difference is plotted as an histogram (like to the standard TradeStation program). The tutorial 215 program does not include Radarscreen specific functionality that is included in the standard program. Also, it uses color object names rather than the legacy colors included in the standard program.
When a horizontal line is drawn on the chart, using the drawing tools, tutorial 215 changes the color and thickness of the horizontal line and stores its value. If the line is moved, its color is changed until the mouse button is released when it is returned to its original color.
The program then alerts when the MACD line crosses this horizontal line. The date and time of the cross are printed in the print log.
The tutorial includes a method that converts the color of a color object into a legacy color that can be used in a plot statement.
Another method is used to 'scrape' the details of drawing objects manually drawn on the chart into a vector. Once stored in the vector the color and weight of the drawing object (horizontal line) can be modified.
The tag property of the horizontal line is used to record whether the horizontal line is currently active. Various print statements are included to help the user better understand the functioning of the program.
https://markplex.com/free-tutorials/tutorial-215-alert-when-macd-crosses-a-line-drawn-on-chart/
When a horizontal line is drawn on the chart, using the drawing tools, tutorial 215 changes the color and thickness of the horizontal line and stores its value. If the line is moved, its color is changed until the mouse button is released when it is returned to its original color.
The program then alerts when the MACD line crosses this horizontal line. The date and time of the cross are printed in the print log.
The tutorial includes a method that converts the color of a color object into a legacy color that can be used in a plot statement.
Another method is used to 'scrape' the details of drawing objects manually drawn on the chart into a vector. Once stored in the vector the color and weight of the drawing object (horizontal line) can be modified.
The tag property of the horizontal line is used to record whether the horizontal line is currently active. Various print statements are included to help the user better understand the functioning of the program.
https://markplex.com/free-tutorials/tutorial-215-alert-when-macd-crosses-a-line-drawn-on-chart/
More from User
06:04
Program 90 | Finding extreme oscillator 'hooks'
Markplex
07:57
Tutorial216
Markplex
09:17
Tutorial217
Markplex
08:33
Tutorial 215 | Alert when MACD crosses a line drawn on chart
Markplex
09:21
Tutorial 214 | Draw a rectangle between the high and low of the week
Markplex
09:43
Tutorial 212 | Draw a rectangle on a chart each day between the high and low of the PREVIOUS day
Markplex
Related Videos
00:22
'How lovely it is to live in a world full of surprises!' Horse-drawn carriage crosses US street to motorists' delight
Newsflare
03:32
FX Market View (Euro crosses) 17 April 2018 by FutureTrend, Forex Charts, FX News
Future Trend
03:11
Delhi-NCR Flood: Yamuna Crosses Danger Mark, Orange Alert in Gurugram
Asianet News English
06:25
Super 50: Flood alert in Kashmir after Jhelum river crosses danger mark and more
NewsNation
03:04
Kerala on Alert as Daily corona Cases Count Crosses 30,000-mark
NewsNation
01:00
Tv9 Gujarat - Narmada crosses danger mark, nearby villages put on alert
TV9 Gujarati