Using code, is it possible to get trend line drawn using manual Fib.

Questions about MultiCharts and user contributed studies.
arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

Using code, is it possible to get trend line drawn using manual Fib.

Postby arjfca » 31 Mar 2017

Hello

I don't thing but maybe there is a way

I'm using manual Fib tool to draw level on a chart. Is there a way to find these trendline level using the code. The purpose is to change the color of these line depending of the scale in use

I did try the TL_GetFirst ( 1 to 7) / TL_GetNext and nothing came out

Martin

User avatar
Kristina MultiCharts
Posts: 63
Joined: 04 Sep 2014
Has thanked: 5 times
Been thanked: 34 times

Re: Using code, is it possible to get trend line drawn using manual Fib.

Postby Kristina MultiCharts » 07 Apr 2017

Hello,

It's possible to access Trendline, Arrow and Text drawings from the code. Other drawings cannot be accessed from the code. Please refer to the following categories in our Wiki for more information on using drawings from the code.
https://www.multicharts.com/trading-sof ... rowDrawing
https://www.multicharts.com/trading-sof ... xt_Drawing
https://www.multicharts.com/trading-sof ... ne_Drawing

svfutures24
Posts: 15
Joined: 19 Dec 2023

Re: Using code, is it possible to get trend line drawn using manual Fib.

Postby svfutures24 » 23 Mar 2024

Is it possible to access Fibonacci Tool in the code? Controlling the color, thickness, transparency etc from code once plotted?

User avatar
Polly MultiCharts
Posts: 202
Joined: 20 Jul 2022
Has thanked: 1 time
Been thanked: 55 times

Re: Using code, is it possible to get trend line drawn using manual Fib.

Postby Polly MultiCharts » 04 Apr 2024

Hello svfutures24,

No, it is still not possible to access Fibonacci Tool values from the code.

Ctrader
Posts: 3
Joined: 10 Nov 2020
Has thanked: 1 time

Re: Using code, is it possible to get trend line drawn using manual Fib.

Postby Ctrader » 12 Apr 2024

I would like to adjust the Fib Retracement Price Lines tool to only show X number of bars to the right instead of into infinity. Is it possible to edit the code for this???

User avatar
Polly MultiCharts
Posts: 202
Joined: 20 Jul 2022
Has thanked: 1 time
Been thanked: 55 times

Re: Using code, is it possible to get trend line drawn using manual Fib.

Postby Polly MultiCharts » 12 Apr 2024

Ctrader,

No, there is no such option, I'm afraid.
The only workaround here is to create your own Fib Retracement Price Lines using the Trend Lines.

svfutures24
Posts: 15
Joined: 19 Dec 2023

Re: Using code, is it possible to get trend line drawn using manual Fib.

Postby svfutures24 » 14 Apr 2024

Just to add to this discussion. I ended up coding out my custom mouseclick event tool that allowed me to code out some visual elements and control sizing, color, etc.

Using the tool I was able to output other information too (image attached).

If you need to create custom visual tools for Fibs, you can do so by exploring mouseclickevents.
MC_FiboToolEg.png
(7.14 KiB) Not downloaded yet


Return to “MultiCharts”