Daveatt

Presets Selector - FRIDAY NIGHT CHALLENGE

Bonjour/Salut ça va?

Ok enough for the french :) You guys should really stop challenging me on things on Pinescript and asking me if it's possible or not because... that's the second time in a row I'm about to reveal a nice trick

Please take this example as a proof of concept/feasability. This follower said "I'm tired of manually filling the fields of my indicator, my fingers are dead.... every time I change something in the code, I lose the configuration by default"
Say no more sir.... challenge accep..... wait for it ....ted (that's his real name actually) !!!!

Mesdames et messieurs (damn... my french accent is back), let's unveil the curtain on... the PRESETS SELECTOR (please try to imagine someone super famous shouting it and everyone standing and clapping their hands...)

What I mean by presets is THIS

I inspired myself from this script MacD-Custom-Indicator-Multiple-Time-Frame-All-Available-Options/ (this guy has more likes in a single indicator than me and my friends and my family in all social media channels combined over the past 15 years or so....#humbled)

Anywoo.... the concept is that you can define presets in your script .... which is not possible by TradingView at the moment. If you always have the same set of parameters for a given indicator, please think about your fingers too and give them some rest by implementing a preset in the code directly

I also added a few features :
- You can choose the resolution of the indicator (from 1 minute to 1 month)
- You can choose also between displaying a MACD or a MACD ZERO LAG

Imagine now you have a super complex backtest with hundreds of fields... and unfortunately ... you'll have to fill some of them for each of your tests. Might change in the future if TradingView will add the feature though :)

PS
I'm writing the Algorithm Builder documentation this weekend and the website should open in 3 weeks maximum. I think it's one of the most beautiful trading websites I've seen ever (I didn't do it, my friend did but who cares... it's mine :p)

PS2
I didn't post yesterday the script of the day so I'll post it tomorrow. What is due is due and I won't fail my challenge even ONCE !!!! ("But you just did yesterday bro...")

Have a great weekend
Dave

____________________________________________________________

Be sure to hit the thumbs up

- If you want to suggest some indicators that I can develop and share with the community, please use my personal TRELLO board

- I'm an officially approved PineEditor/LUA/MT4 approved mentor on codementor. You can request a coaching with me if you want and I'll teach you how to build kick-ass indicators and strategies
Jump on a 1 to 1 coaching with me
- You can also hire for a custom dev of your indicator/strategy/bot/chrome extension/python

- if you like my work and wants to buy me some coffee :
- BTC TipJar: 3MKDve7stWTe1io99oFxeQXvP8XB4zCQ8m
- LTC TipJar: MC5oeBAhw9BLqyi65TR3J1Lid8io9uHADw
發布通知: - Small edit
從喜愛的腳本中移除 添加到喜愛的腳本
YOUR VERY GOOD.

CAN YOU PLS MAKE A SCRIPT WHERE IT WILL PLOT A LINE ON GAPS THAT HASNT BEEN FILLED?
ATLEAST SHOWING A LINE THAT IT HAS GAPS AND IS NOT YET FILLED =)
回覆
Another good one! I will put this to use!
回覆
You are really superb bro..
回覆
Daveatt ReddyWow
@ReddyWow, no one called me superb ever before. Really appreciate it. Thanks a lot
回覆
Brilliant thank you !
回覆
Daveatt syrinxflunki
@syrinxflunki, hehe thanks
回覆
With every your new post V4 is more clear to me. Thanks for sharing.
回覆
Daveatt CryptoArch_
@CryptoArch_, and with every of my script, I'm also learning something new about V4. Thanks for the good words
回覆
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 節目 如何運作 圖表功能 價格 網站規則 版主 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 幫助中心 推薦朋友 功能請求 部落格 & 新聞 常見問題 維基 推特
概述 個人資料設定 賬戶和賬單 推薦朋友 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出