tradingview / charting-library-examples

Examples of Charting Library integrations with other libraries, frameworks and data transports
MIT License
1.39k stars 763 forks source link

Unable to create multi line indicator. #119

Closed yaseenyahya closed 5 years ago

yaseenyahya commented 5 years ago

how can i change color of line on my condition.

I am trying to set plot brush in this this method. Is this Possible ?

this.main = function(context, inputCallback) { var b = 0; var plotbrush = b == 0 ? "green" : "black";

changePlotBrush(plotbrush); //contains any this type of method }

timocov commented 5 years ago

@yaseenayahya please stop create unrelated to this repo issues here. If you want to get help with the charting library - please create an issue in https://github.com/tradingview/charting_library repo (I've moved 2 previously created issues https://github.com/tradingview/charting_library/issues/4201 https://github.com/tradingview/charting_library/issues/4200).

yaseenyahya commented 5 years ago

unable to access https://github.com/tradingview/charting_library having

  1. can you help me authenticate this repo..??

On Fri, Aug 2, 2019 at 1:37 PM Evgeniy Timokhov notifications@github.com wrote:

@yaseenayahya https://github.com/yaseenayahya please stop create unrelated to this repo issues. If you want to get help with the charting library - please create an issue in https://github.com/tradingview/charting_library repo (I've moved 2 previously created issues tradingview/charting_library#4201 https://github.com/tradingview/charting_library/issues/4201 https://github.com/tradingview/charting-library-examples/issues/118).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tradingview/charting-library-examples/issues/119?email_source=notifications&email_token=ADSM262CBPUDBJQCBAFFRC3QCPW27A5CNFSM4II3TAWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3NCOAY#issuecomment-517613315, or mute the thread https://github.com/notifications/unsubscribe-auth/ADSM2625PWNYOAQDMZMZXNTQCPW27ANCNFSM4II3TAWA .

timocov commented 5 years ago

You need to request an access via https://www.tradingview.com/HTML5-stock-forex-bitcoin-charting-library/.