PROTECTED SOURCE SCRIPT
Updated

Smart DCA Invest Lite

252
English description:

๐Ÿ“Š Smart DCA Invest โ€“ Features Overview

โœ… Automated DCA strategy with dynamic profit targets, optimized risk management.

โš™๏ธ Functionality:

๐Ÿ•’ Time Interval Settings
โ€ข ๐Ÿ“… Start Date and Time: The strategy activates only after the specified start time.
โ€ข ๐Ÿ”„ Auto Restart: Automatically restarts the strategy after a position is closed.

๐Ÿ’ต Investment Amounts
โ€ข ๐ŸŸข Initial Investment Amount: The amount invested when the first position is opened.
โ€ข ๐Ÿ”„ Recurring Investment Amount: The amount invested periodically for subsequent purchases.

๐Ÿ“Š Purchase Frequency
โ€ข โฑ Interval Between Purchases: Specifies the minimum number of candles between two purchases to avoid overly frequent position expansions.

๐Ÿ›ก๏ธ Risk Management
โ€ข ๐Ÿ“‰ Loss Limit: The strategy halts additional purchases if the price does not drop below a predefined loss level, optimizing the average cost reduction.
โ€ข ๐ŸŽฏ Take Profit: A predefined profit target percentage, triggering position closure upon reaching it.

๐Ÿ“ˆ Dynamic Take Profit (TP) Settings
โ€ข โณ TP Increase Frequency: The interval in days for dynamic TP growth.
โ€ข ๐Ÿ“Š TP Growth Rate: The percentage by which the TP level increases at the end of each interval.
โ€ข โš™๏ธ Enable Dynamic TP: Allows the TP level to increase dynamically over time based on holding duration.
โ€ข ๐Ÿง  Smart Invest: Accumulates skipped purchases above the average entry or loss limit price and invests them when the price drops below the loss limit.

๐ŸŽจ Visual Representation
โ€ข ๐Ÿ“ Average Price Line: Displays the average entry price in yellow.
โ€ข ๐Ÿ›‘ Stop Limit Line: Displays the loss limit in red.
โ€ข โœ… Take Profit Line: Displays the dynamically updated profit target in green.

๐ŸŽจ Visual Elements
โ€ข ๐Ÿ“ Average Price Line: Visualizes the average cost on the chart.
โ€ข ๐Ÿ›‘ Stop Limit Line: Visualizes the loss limit level.
โ€ข โœ… Take Profit Line: Displays the TP level graphically.
โ€ข ๐Ÿ“Š Statistics Table: Detailed data summary presented in a table at the end of the strategy.

๐Ÿ“Š Statistics Table
โ€ข ๐Ÿ“ˆ Average Price: The average entry price of the current position.
โ€ข ๐Ÿ›‘ Stop Limit: The loss limit value.
โ€ข โœ… Take Profit: The profit target value.
โ€ข ๐Ÿ“ฆ Position Size: The size of the current position.
โ€ข ๐Ÿ’ต Max Invested Amount: The highest amount invested.
โ€ข โณ Longest DCA Period: The longest duration a DCA position was open.
โ€ข ๐Ÿ’ผ Current Investment: The amount currently invested.
โ€ข ๐Ÿ”„ Multiplier: Purchase multiplier value.
โ€ข ๐Ÿ“Š Dynamically Adjusted TP %: The current dynamic Take Profit percentage.

- Recommended for retesting

Hungarian description:

๐Ÿ“Š Smart DCA Invest โ€“ Funkciรณk Leรญrรกsa

โœ… Automatizรกlt DCA stratรฉgia dinamikus profitcรฉlokkal, optimalizรกlt kockรกzatkezelรฉssel.

โš™๏ธ Mลฑkรถdรฉs:

๐Ÿ•’ Idล‘intervallum Beรกllรญtรกsok
โ€ข ๐Ÿ“… Kezdรฉsi dรกtum รฉs idล‘: A stratรฉgia csak a meghatรกrozott kezdรฉsi idล‘pont utรกn aktivรกlรณdik.
โ€ข โณ Befejezรฉsi dรกtum รฉs idล‘: A stratรฉgia a meghatรกrozott idล‘pontig mลฑkรถdik.
โ€ข ๐Ÿ”„ Automatikus รบjraindรญtรกs: Pozรญciรณzรกrรกs utรกn a stratรฉgia automatikusan รบjraindulhat.

๐Ÿ’ต Befektetรฉsi ร–sszegek
โ€ข ๐ŸŸข Elsล‘ befektetรฉsi รถsszeg: Az elsล‘ pozรญciรณ nyitรกsakor befektetett รถsszeg.
โ€ข ๐Ÿ”„ Napi vรกsรกrlรกsi รถsszeg: Ismรฉtelt periรณdusonkรฉnti vรกsรกrlรกsok รถsszege.

๐Ÿ“Š Vรกsรกrlรกsi Gyakorisรกg
โ€ข โฑ Intervallum kรฉt vรกsรกrlรกs kรถzรถtt: Meghatรกrozza a minimรกlis gyertya intervallumot kรฉt vรกsรกrlรกs kรถzรถtt, elkerรผlve a tรบl gyakori pozรญciรณbล‘vรญtรฉseket.

๐Ÿ›ก๏ธ Kockรกzatkezelรฉs
โ€ข ๐Ÿ“‰ Loss Limit: Ha az รกr nem csรถkken egy meghatรกrozott vesztesรฉgi szint alรก, a stratรฉgia nem vรกsรกrol tovรกbb, hogy hatรฉkonyabban csรถkkentse az รกtlagรกrat.
โ€ข ๐ŸŽฏ Take Profit: Elล‘re meghatรกrozott profitcรฉl szรกzalรฉkos รฉrtรฉke, amely elรฉrรฉsekor a pozรญciรณ lezรกrul.

๐Ÿ“ˆ Dinamikus Take Profit (TP) Beรกllรญtรกsok
โ€ข โณ TP nรถvelรฉsi gyakorisรกg: A dinamikus TP nรถvekedรฉsรฉnek idล‘szaka napokban.
โ€ข ๐Ÿ“Š TP nรถvekedรฉs mรฉrtรฉke: A TP szint szรกzalรฉkos nรถvekedรฉse az intervallum vรฉgรฉn.
โ€ข โš™๏ธ Dinamikus TP engedรฉlyezรฉse: A TP szint dinamikusan nรถvekszik a tartรกsi idล‘ fรผggvรฉnyรฉben.
โ€ข ๐Ÿง  Smart Invest: Kihagyott vรกsรกrlรกsok felhalmozรกsa (รกtlagos bekerรผlรฉsi vagy โ€žLoss limitโ€ feletti รกrfolyamnรกl), amelyek a โ€žLoss limitโ€ รกrszint alatt befektetรฉsre kerรผlnek.

๐ŸŽจ Vizuรกlis Megjelenรญtรฉs
โ€ข ๐Ÿ“ รtlagรกr vonal: Sรกrga szรญnnel jelzi az รกtlagรกrat.
โ€ข ๐Ÿ›‘ Stop Limit vonal: Piros szรญnnel jelzi a vesztesรฉgi korlรกtot.
โ€ข โœ… Take Profit vonal: Zรถld szรญnnel jelzi a dinamikusan frissรผlล‘ profitcรฉlt.

๐ŸŽจ Vizuรกlis Elemek
โ€ข ๐Ÿ“ รtlagรกr vonal: Az รกtlagรกr megjelenรญtรฉse a grafikonon.
โ€ข ๐Ÿ›‘ Stop Limit vonal: A vesztesรฉgkorlรกtozรกsi szint megjelenรญtรฉse.
โ€ข โœ… Take Profit vonal: A Take Profit szint grafikai megjelenรญtรฉse.
โ€ข ๐Ÿ“Š Statisztikai tรกblรกzat megjelenรญtรฉse: A stratรฉgia vรฉgรฉn rรฉszletes adatok jelennek meg egy tรกblรกzatban.

๐Ÿ“Š Statisztikai Tรกblรกzat
โ€ข ๐Ÿ“ˆ รtlagรกr: Az aktuรกlis pozรญciรณ รกtlagos bekerรผlรฉsi รกra.
โ€ข ๐Ÿ›‘ Stop Limit: A vesztesรฉgkorlรกtozรกsi szint รฉrtรฉke.
โ€ข โœ… Take Profit: A profitcรฉl รฉrtรฉke.
โ€ข ๐Ÿ“ฆ Pozรญciรณmรฉret: Az aktuรกlis pozรญciรณ nagysรกga.
โ€ข ๐Ÿ’ต Maximรกlis befektetett รถsszeg: A legnagyobb befektetett รฉrtรฉk.
โ€ข โณ Leghosszabb DCA idล‘szak: A leghosszabb idล‘tartam, amรญg egy DCA pozรญciรณ nyitva maradt.
โ€ข ๐Ÿ’ผ Aktuรกlis befektetรฉs: Az aktuรกlisan befektetett รถsszeg.
โ€ข ๐Ÿ”„ Multiplikรกtor: Vรกsรกrlรกsi szorzรณ รฉrtรฉk.
โ€ข ๐Ÿ“Š Dinamikusan beรกllรญtott TP %: Az aktuรกlisan รฉrvรฉnyes Take Profit szรกzalรฉkos รฉrtรฉke.
Release Notes
- Position closing logic correction
- Table display modernization
Release Notes
Fix errors
Release Notes
English:

Report Summary: Table Fix & New Features

Table modifications are being introduced.

The Historical PNL (USD) represents the total accumulated profit from closed positions. It sums up only the profit or loss from completed trades and does not include the results of open positions.

The Historical PNL % is always calculated relative to the highest invested amount, as this serves as the most relevant reference point for evaluating strategy performance. It is not based on the current invested amount but on the highest amount ever invested.

It is important to note that these figures do not include commissions (transaction fees), which is why they may differ from the values shown in TradingView. Additionally, TradingView calculates PNL after the candle closes, whereas the custom table always determines the profit at the exact moment a position is closed, based on the predefined profit level. This makes the custom table more accurate, and this should be considered when analyzing the data.



Hungarian:

Report Summary: Table Fix & New Features

A javรญtรกs sorรกn tรกblรกzatbeli mรณdosรญtรกsok kerรผlnek bevezetรฉsre.

A Historical PNL (USD) az eddig bezรกrt pozรญciรณk utรกn felhalmozott teljes profitot mutatja. Kizรกrรณlag a lezรกrt รผgyletek nyeresรฉgรฉt vagy vesztesรฉgรฉt รถsszegzi, รฉs nem tartalmazza a nyitott pozรญciรณk eredmรฉnyรฉt.

A Historical PNL % mindig a legnagyobb befektetett รถsszeghez viszonyรญtva szรกmรญtja ki a teljes profit arรกnyรกt, mivel ez a legrelevรกnsabb referenciaรฉrtรฉk a stratรฉgia teljesรญtmรฉnyรฉnek รฉrtรฉkelรฉsekor. Nem az aktuรกlis befektetett รถsszeghez viszonyรญt, hanem a valaha volt legnagyobbhoz.

Fontos megjegyezni, hogy ezek az adatok nem tartalmazzรกk a commission-t (kezelรฉsi kรถltsรฉgeket), ezรฉrt eltรฉrhetnek a TradingView รกltal mutatott รฉrtรฉkektล‘l. Emellett a TradingView a PNL-t a gyertya zรกrรกsa utรกn szรกmolja, mรญg a sajรกt tรกblรกzat mindig az elล‘re beรกllรญtott profit szintbล‘l, pontosan a pozรญciรณ zรกrรกsรกnak pillanatรกban szรกmรญtja ki a profitot. Ezรฉrt a sajรกt tรกblรกzat pontosabb, รฉs ezt mindenkรฉppen รฉrdemes figyelembe venni az adatok elemzรฉsekor.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.