Draw line of MA in chart
3件の返信
こんにちは,
I want to draw a calculated line as moving average in the chart, which
e.g. the mean is between EMA200 and SMA30.
In the Rule i use EMA200 + SMA30 : 2
I can easily use this value with “Move SL to … EMA200 + SMA30: 2”
But how can I draw the line in the chart? I see only: Then…. “Draw Up Arrow”
When I use: Custom Action: Command “SetIndexStyle (Draw_Line)” does not work.
Thank you for your ideas
0
you can make a custom indicator that displays this “EMA200 + SMA30 : 2” line…
これは虚偽の発言です。.
0
こんにちは,
you can calculate the price first and then add “custom actions” with codes (each drawing order to a new line if you have mutliple lines or want to set line parameters)
For example how to draw a trendline from High[30] to High[1]:
ObjectCreate(0,”trendLine1″, OBJ_TREND, 0, Time[30], High[30], Time[1], High[1])
0
Hello, i don`t know how can i do this. Have an example ? SMA200 and SMA50 maybe ?
thanx
0
3件の返信を表示中 - 1 - 3件目 (全3件中)