create account

Trading App Development - Fibonacci Retracement by leoplaw

View this thread on: hive.blogpeakd.comecency.com
· @leoplaw ·
$11.57
Trading App Development - Fibonacci Retracement
![Screenshot_20220321_195711.png](https://images.hive.blog/DQmbVaHCPk8z31Rdmn3HHEMK2VXkSHqdd5GDLcMPPQzar6B/Screenshot_20220321_195711.png)

[Trading-Vue-JS](https://github.com/tvjsx/trading-vue-js) (TVJS) is a beast of a Vue component. The only stock chart better than it is [Trading View](https://www.tradingview.com/chart/?symbol=BITSTAMP%3ABTCUSD) for which it was designed as a fee alternative to. The developer C451 really put a great deal of effort and work into it, laying the foundations for something quite flexible and powerful.

All of the basics are there, but if you want to extend it further, that's where you as a developer have make an investment of time yourself. There is a great deal of documentation and live examples to hack. But to really build upon it, you have to dig deep into the code, cross check the documentation and meditate upon the information and finally hack around until you get something working.

Once you have figured it out and you do have your extension working, the skies are the limit.

I've seen some excellent examples posted to the [Discord Server](https://discord.com/channels/692731556288004116/692743129920438272) but few people share the code back to the project. I can understand why. With so much effort put in, there is often very little reward from the "community" and more pleading for help on how to do things. So I consider it amazing that C451 even released it as Open Source in the first place.

I'm now facing the decision myself. In one way it feels right to make some contribution back to the project because it was given freely, yet when a component like this is directly used for making profit for other people, it would be nice to get a few cryptos back in return.

I took hints from the documentation and forum and then started hacking one of the existing chart tools, with the aim of building upon it to make a Fibonacci Retracement tool. They look flashy and have some use, so it seemed like a worthwhile project.

It did indeed prove to be worthwhile, because I now have a reasonable understanding of adding overlays to the chart, how to read the price and time and then processing that into some sort graphical representation.

TVJS does have a basic scripting language to do things as you might with Trading View's Pine Script. This feature I have not explored yet.

Other than creating more chart tools, one of the following things to do with TVJS is to build out a configuration dialogue for the tools. You can see in the image above that the basics are already in place. With my app now capable of saving and restoring the chart states, configuring the chart tools and having those changes persistent is now possible.

But since such things are really more cosmetic and don't contribute to the basic functionality or workflow, I will for a time, switch back to developing other features. 



Posted Using [LeoFinance <sup>Beta</sup>](https://leofinance.io/@leoplaw/trading-app-development-fibonacci-retracement)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 41 others
properties (23)
authorleoplaw
permlinktrading-app-development-fibonacci-retracement
categoryhive-167922
json_metadata{"app":"leofinance/0.2","format":"markdown","tags":["leofinance","nodejs","trading","technology","programming","crypto","palnet","posh","ocd"],"canonical_url":"https://leofinance.io/@leoplaw/trading-app-development-fibonacci-retracement","links":["https://github.com/tvjsx/trading-vue-js","https://www.tradingview.com/chart/?symbol=BITSTAMP%3ABTCUSD","https://discord.com/channels/692731556288004116/692743129920438272"],"image":["https://images.hive.blog/DQmbVaHCPk8z31Rdmn3HHEMK2VXkSHqdd5GDLcMPPQzar6B/Screenshot_20220321_195711.png"]}
created2022-03-21 21:11:48
last_update2022-03-21 21:11:48
depth0
children3
last_payout2022-03-28 21:11:48
cashout_time1969-12-31 23:59:59
total_payout_value5.810 HBD
curator_payout_value5.763 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,984
author_reputation189,628,210,789,149
root_title"Trading App Development - Fibonacci Retracement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id111,564,973
net_rshares8,766,049,998,985
author_curate_reward""
vote details (105)
@curation-cartel ·
![Don-1UP-Cheers-Cartel-250px.png](https://files.peakd.com/file/peakd-hive/curation-cartel/23wgDhXHXhDmLCUp4RXCi4QwSwg2eCBXYV3b8uBMLvQ7BDWDG4eFSyWTp58qTjfu5ULQD.png) |  <div class="phishy"><u><h4>You have received a __1UP__ from @dynamicrypto!</h4></u></div> The following @oneup-cartel family members will soon upvote your post:<br> __<code>@leo-curator, @stem-curator, @pal-curator</code>__  <br>_And they will bring !PIZZA 🍕_ 
-|-

<sup>[Learn more](https://peakd.com/hive-102223/@flauwy/the-curation-cartel-1up-trigger-smart-voting-mana-and-high-delegation-returns-for-14-different-tribes) about our delegation service to earn daily rewards. Join the family on [Discord](https://discord.gg/H5mxvTrexm).</sup>
properties (22)
authorcuration-cartel
permlinkre-trading-app-development-fibonacci-retracement-20220322t033125z
categoryhive-167922
json_metadata"{"app": "beem/0.24.26"}"
created2022-03-22 03:31:27
last_update2022-03-22 03:31:27
depth1
children0
last_payout2022-03-29 03:31:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length712
author_reputation1,123,882,653,763
root_title"Trading App Development - Fibonacci Retracement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id111,572,475
net_rshares0
@dynamicrypto ·
Nice TA post, fibonacci retracement is a great charting tool !1UP
👍  
properties (23)
authordynamicrypto
permlinkr94lq2
categoryhive-167922
json_metadata{"tags":["stem"],"app":"stemgeeks/0.1","canonical_url":"https://stemgeeks.net/@dynamicrypto/r94lq2"}
created2022-03-22 03:01:15
last_update2022-03-22 03:01:15
depth1
children1
last_payout2022-03-29 03:01:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length65
author_reputation251,217,457,674,484
root_title"Trading App Development - Fibonacci Retracement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id111,571,893
net_rshares830,656,369
author_curate_reward""
vote details (1)
@leoplaw ·
Cheers @dynamicrypto! Fibonacci Retracement has it's uses. Now I've got the basics figured out, I'd like to tackle some of the more complex custom inidcators I've seen on TradingView.
properties (22)
authorleoplaw
permlinkre-dynamicrypto-r95158
categoryhive-167922
json_metadata{"tags":["hive-167922"],"app":"peakd/2022.03.6"}
created2022-03-22 08:34:24
last_update2022-03-22 08:34:24
depth2
children0
last_payout2022-03-29 08:34:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length183
author_reputation189,628,210,789,149
root_title"Trading App Development - Fibonacci Retracement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id111,577,852
net_rshares0