syminfo tableThis is nothing special, and it is not an indicator for investments.
I build this for my programming layout, so I can see all the output of the syminfo command.
Simply put...
It shows the commands on the left side,
and related outputs are on the right side.
Educational
Pivot Support & Resistance [DeltaAlgo]Pivot Support & Resistance Indicator - DeltaAlgo
Concept:
The "Pivot Support & Resistance" indicator is designed to help traders identify and visualize key support and resistance levels based on pivot points. It calculates and plots lines representing these levels on a price chart. This indicator's concept is rooted in the idea that pivot points can act as significant price reference points, which can be instrumental in making trading decisions.
Settings:
Pivot Period: Users can customize the period for calculating pivot points. This period determines how many bars are considered when calculating support and resistance levels.
Maximum Lines: The indicator allows traders to set a maximum number of support and resistance lines that will be displayed. When the maximum is reached, older lines are removed to keep the chart uncluttered.
Line Colors and Width: Users can choose the colors and width for both the support and resistance lines to tailor the indicator's appearance to their preferences.
Use Case:
The "Pivot Support & Resistance" indicator is beneficial for traders who employ pivot points in their technical analysis and trading strategies. It aids in identifying potential reversal and breakout levels, which can inform trading decisions. Traders can use this indicator to:
Identify key price levels: The indicator highlights significant support and resistance levels based on pivot points.
Plan entries and exits: Traders can incorporate these levels into their trading strategies to make more informed decisions about when to enter or exit trades.
Manage risk: Knowing where support and resistance levels are can help traders set stop-loss and take-profit orders more effectively.
This indicator simplifies the process of identifying and visualizing pivot-based support and resistance levels, making it a valuable tool for traders who rely on these levels in their technical analysis. It helps streamline the decision-making process and enhances overall trading effectiveness.
Forex Market Fundamental indicatorsThese explanations are provided in both English and Persian languages.
You can read the description in Persian below.
این توضیحات به دو زبان انگلیسی و فارسی ارائه شده است.
در زیر می توانید توضیحات را به زبان فارسی بخوانید.
If you are looking for a fundamental indicator, We suggest you use this indicator.
It provides an advanced and leading model for fundamental market analysis.
The indexes which are used in the “Indicator” include: unemployment rates, GDP, inflation, and M1 money supply.
For the indices of this indicator, a safe range is defined by the central bank of each country.
For example, the inflation target for countries in different periods has specific limits:
United States: 2%
United Kingdom: 2%
Canada: 2%
Australia: 2%
New Zealand: 1 to 3%
Japan: 0 to 2%
Switzerland: 0 to 2%
European Union: 2%
Considering the past events of each country and the goals of each country and the long-term average of the indicators as well as what the economic officials announce, it can be recognized that there is a red line for each country. Therefore, if the value of the index reaches those red lines, it will definitely affect the monetary and financial policies of those countries.
For example, we estimate that if the monthly inflation rate in Japan, Switzerland, the United Kingdom, and the European Union is more than 0.33, the monetary policies of those countries will try to reduce the inflation. They will try to control inflation by using tools such as increasing interest rates, and from our point of view, this is a positive point in the direction of increasing the value of that country's currency.
Likewise, if the monthly inflation rate in the United States, Canada, Australia or New Zealand is below -0.1, our view is that: these countries will try to stimulate the market with policies such as interest rate cuts or liquidity increases. And these economic policies lead to a decrease in the value of the currency of these countries. As a result, we give a negative score to that country's currency.
To be more precise, the view that we have implemented in this indicator is as follows:
Let's say your symbol chart is on the USDJPY pair.
By default, the possibility of growth in the value of each of the currencies relative to each other is 50 to 50.
But suppose the monthly inflation rate in the United States is -0.15.
Our analysis is that the United States will probably try to reduce the value of its currency to control it (due to the adoption of expansionary policies).
As a result, we reduce the probability of growth in the value of the US dollar relative to the Japanese yen by 5% to 45%, and we also increase the probability of growth in the value of the yen to the dollar to 55%.
Now suppose the monthly inflation rate in Japan is 0.4. Then our analysis is: Japan will try to increase the value of its national currency to control the inflation rate (using contractionary policies).
As a result, we reduce the probability that the US dollar will appreciate against the Japanese yen to 40%. Also, we increase the probability of yen to dollar growth by 60%.
Using this indicator and according to the same symbol, based on each of the five economic indicators, we examine both currencies of the symbol. And finally, based on the surveys, we get the probability of price growth between 0 and 100 percent. And we also determine the possibility of price reduction. However, the probability of zero or one hundred is almost impossible.
If you have any questions about our view in relation to other indicators, you can comment and ask.
We will answer you.
These questions and answers will help and evolute both of us. We are trying to keep this Indicator up to date and improve it with the most logical arguments.
The important point is that this indicator never claims to always be correct. The forecast of this Indicator may not be realized or may be realized in different and longer time periods.
As a fact for any financial expert, we should know that there are many parameters that affect the price, and this Indicator cannot analyze all of them. Therefore, look at this Indicator as an auxiliary tool and do not expect miracles from it.
Head of programmers:
Mr. Mojtaba askari - Mr. Mohammad sanaei
Developers:
Mrs. Hamideh Azari
Mr. Peyman Mahdavi
Mr. Mohsen shabani
Mr. Moslem Balasi
Mr. Shahrokh Nakhaei
اگر به دنبال یک اندیکاتور بر پایه تحلیل بنیادی هستید، پیشنهاد می کنیم از این اندیکاتور استفاده کنید.
این یک مدل پیشرفته و پیشرو برای تحلیل بنیادی بازار ارائه می دهد.
شاخص هایی که در این «اندیکاتور» بررسی شده، عبارتند از: نرخ بیکاری، تولید ناخالص داخلی، تورم، نرخ بهره و حجم نقدینگی M1.
برای شاخص های این اندیکاتور، یک محدوده امن توسط بانک مرکزی هر کشور تعریف شده است.
به عنوان مثال، هر کشور، در دوره های مختلف، هدف تورمی خاصی تعیین میکند:
ایالات متحده: 2%
بریتانیا: 2%
کانادا: 2%
استرالیا: 2%
نیوزلند: 1 تا 3 درصد
ژاپن: 0 تا 2 درصد
سوئیس: 0 تا 2 درصد
اتحادیه اروپا: 2%
با توجه به اتفاقات گذشته هر کشور و اهداف هر کشور و میانگین بلندمدت شاخصها و همچنین آنچه مسئولان اقتصادی اعلام میکنند، میتوان تشخیص داد که برای هر کشور یک خط قرمز وجود دارد. بنابراین اگر مقدار شاخص به آن خطوط قرمز برسد، قطعا بر سیاست های پولی و مالی آن کشورها تأثیر خواهد گذاشت.
به عنوان مثال، ما تخمین می زنیم که اگر نرخ تورم ماهانه در ژاپن، سوئیس، انگلستان و اتحادیه اروپا بیش از 0.33 باشد، سیاست های پولی آن کشورها سعی در کاهش تورم خواهد داشت. آنها سعی خواهند کرد با استفاده از ابزارهایی مانند افزایش نرخ بهره، تورم را کنترل کنند و از نظر ما این نکته مثبتی در جهت افزایش ارزش پول آن کشور است.
به همین ترتیب، اگر نرخ تورم ماهانه در ایالات متحده، کانادا، استرالیا یا نیوزلند زیر 0.1- باشد، نظر ما این است که: این کشورها با سیاست هایی مانند کاهش نرخ بهره یا افزایش نقدینگی سعی در تحریک بازار خواهند داشت. و این سیاست های اقتصادی منجر به کاهش ارزش پول این کشورها می شود. در نتیجه به واحد پول آن کشور نمره منفی می دهیم.
به بیان دقیق تر، دیدگاهی که در این اندیکاتور پیاده سازی کرده ایم به شرح زیر است:
فرض کنید نماد نمودار شما روی جفت ارز "USDJPY" است.
به طور پیش فرض امکان رشد ارزش هر یک از ارزها نسبت به یکدیگر 50 تا 50 در نظر گرفته شده.
اما فرض کنید نرخ تورم ماهانه در ایالات متحده 0.15- باشد.
تحلیل ما این است که احتمالا ایالات متحده برای کنترل آن (با استفاده از سیاست های انبساطی) سعی در کاهش ارزش پول خود خواهد داشت.
در نتیجه احتمال رشد ارزش دلار آمریکا نسبت به ین ژاپن را با 5 درصد کاهش به 45 درصد و همچنین احتمال رشد ارزش ین به دلار را به 55 درصد افزایش می دهیم.
حال فرض کنید نرخ تورم ماهانه در ژاپن 0.4 باشد. سپس تحلیل ما این است: ژاپن سعی خواهد کرد ارزش پول ملی خود را افزایش دهد تا نرخ تورم را کنترل کند (با استفاده از سیاست های انقباضی).
در نتیجه، احتمال افزایش ارزش دلار آمریکا در برابر ین ژاپن را به 40 درصد کاهش می دهیم. همچنین، احتمال رشد ین ژاپن به دلار آمریکا را به 60 درصد افزایش می دهیم.
با استفاده از این شاخص و با توجه به همین نماد، بر اساس هر یک از پنج شاخص اقتصادی، هر دو ارز نماد را بررسی می کنیم. و در نهایت بر اساس بررسی های انجام شده احتمال رشد قیمت بین 0 تا 100 درصد را به دست می آوریم و امکان کاهش قیمت را نیز تعیین می کنیم. با این حال، احتمال صفر یا صد تقریبا غیرممکن است.
اگر در مورد دیدگاه ما در ارتباط با سایر شاخص ها سوالی دارید می توانید در قسمت کامنت ها از ما بپرسید.
ما به شما پاسخ خواهیم داد.
این پرسش ها و پاسخ ها به هر دوی ما کمک می کند و باعث رشد و تکامل همه ما می شود. ما سعی میکنیم این اندیکاتور را به روز نگه داریم و با منطقی ترین استدلال ها آن را بهبود ببخشیم.
نکته مهم این است که این اندیکاتور هرگز ادعا نمیکند همیشه درست است. پیش بینی این شاخص ممکن است محقق نشود یا در دوره های زمانی مختلف و طولانی تر محقق شود.
به عنوان یک واقعیت ، هر کارشناس و فعال حوزه مالی میداند که پارامترهای زیادی وجود دارد که بر قیمت تاثیر میگذارد و این اندیکاتور نمیتواند همه آنها را تحلیل کند. بنابراین به این اندیکاتور به عنوان یک ابزار کمکی نگاه کنید و از آن انتظار معجزه نداشته باشید.
سرپرست برنامه نویسان:
آقای محمد ثنائی - آقای مجتبی عسکری
توسعه دهندگان:
خانم حمیده آذری
آقای پیمان مهدوی
آقای محسن شعبانی
آقای مسلم بلاسی
آقای شاهرخ نخعی
Technical Analysis Notes👉 Hello trader.
- In the process of monitoring the list of trading pairs such as stocks, cryptocurrencies... I often mark signals such as: RSI divergence, MACD, Stochatic, RSI trendline, Trendline..."by hand" , like recording on a drawing board, or excell, notepad... Therefore, taking notes is very limited. In addition, each time frame gives different, inconsistent signals and it is difficult to analyze the trend of a trading pair. somehow.
- After a period of careful research, I created the "Technical Analysis notes" indicator to solve the problems mentioned above, and after using it, I personally found it very effective to mark it. Trading signals as well as trend analysis across time frames from small to large.
- For example: On weekends, I often use automatic scanning indicators (about 200 codes) RSI divergence, RSI trendline, Trendlines, MACD-histogram .. within a week, then mark trading pairs when there are signals. Signals such as RSI cutting its trend line, price breaking through the trend line, Histogram MACD divergence... in the weekly frame, from there look to the D1, H4 frames to see the next signals in those frames to find the direction of intersection. Move in the same direction as the weekly frame signal to trade in the same trend. From that analysis, I limit my ability to go against the trend, and wait patiently for the signals that have been noted before.
- On this board you can monitor 10 transaction codes (in real time)
- On this table I have given 4 different time frames (can be customized in settings)
- I add Kumo Cloud (ichimoku) signals on 4 time frames so that people can easily recognize the trend when the price is above the cloud (green circle), in the cloud (white circle), below the cloud (green circle). red circle)
- I add fast typing mode, shortcut typing depending on each person's description including 16 fast typing modes (for example: "ru:RSI br up" in my understanding means the RSI line has broken above the trend line direction)
- From the above example "ru:RSI br up" the sign ' : ' is the separator that must be present to interpret the word 'ru' as being typed quickly, and 'RSI br up' is the part that explains the content of that word typed quickly.
- In those 16 quick typing boxes (divided into 4 rows), the first 3 rows are colored with custom boxes for each person. The last remaining row is not filled.
- The content of note boxes can be hidden in the settings using the check box.
- In particular, the private notes column cannot be hidden, because it is the column for recording, synthesizing, analyzing, identifying main trends, or waiting points to place orders... (This box is the most important in my opinion. ..)
- Has a super smart warning mode (customizable) when Kumo cloud signals are in the same color on 4 time frames for the most certain trend (green - bullish, red - bearish)
- In the warning section, you can adjust from 4 time frames to 3 time frames, 2 time frames, 1 time frame.
- Alert mode lists exact code names when one or more codes qualify. (eg BTC, ADA, BNB...)
--------------------------------------------------------------------------------------------------------------------
👉 Vietnamess
- Trong quá trình theo dõi danh sách các cặp giao dịch như cổ phiếu, tiền điện tử...tôi thường đánh dấu các tín hiệu như : phân kì RSI, MACD, Stochatic, trendline RSI, Trendline ..."bằng tay", như ghi trên bảng vẽ, hoặc excell, notepad...Vì vậy ghi chép rất hạn chế ngoài ra mỗi khung thời gian cho các tín hiệu khác nhau, không đồng nhất và rất khó để phân tích xu hướng của một cặp giao dịch nào đó.
- Sau một thời gian nghiên cứu kĩ lưỡng tôi có lập lên được chỉ báo "ghi chép Phân tích kĩ thuật " nhằm giải quyết các vấn đề nêu như trên, và sau quá trình dùng, cá nhân tôi thấy rất hiệu quả khi đánh dấu các tín hiệu giao dịch cũng như phân tích xu hướng qua các khung thời gian từ nhỏ đến lớn.
- Ví dụ: Cuối tuần tôi thường dùng chỉ báo quét tự động(khoảng 200 mã) RSI phân kì, RSI trendline, Trendlines , MACD-histogram .. trong khung 1 tuần, sau đó đánh dấu những cặp giao dịch khi có những tín hiệu như RSI cắt đường xu hướng của nó, giá đột phá đường xu hướng, phân kì Histogram MACD.. trong khung tuần, từ đó tìm đến những khung D1,H4 xem các tín hiệu tiếp theo trong các khung đó để tìm hướng giao dịch cùng hướng với tín hiệu khung tuần để giao dịch cùng xu hướng. Từ những phân tích đó tôi hạn chế được đi ngược xu hướng, và kiên nhẫn chờ đợi khi có tín hiệu được đã ghi chú từ trước.
- Trên bảng này có thể theo õi được 10 mã giao dịch(theo thời gian thực)
- Trên bảng này tôi có đưa ra 4 khung thời gian khác nhau(có thể tùy chỉnh trong thiết lập)
- Tôi đưa thêm tín hiệu Mây Kumo( ichimoku) trên 4 khung thời gian để mọi người từ đó dễ dàng nhận biết xu hướng khi giá trên mây(dấu tròn xanh lá) , trong mây(dấu tròn trắng) , dưới mây(dấu tròn đỏ)
- Tôi đưa thêm chế độ gõ nhanh, gõ tắt tùy theo diễn tả của mỗi người gồm 16 chế độ gõ nhanh (ví dụ: "ru:RSI br up" theo ý hiểu của tôi là đường RSI đã phá vỡ lên trên đường xu hướng)
- Từ ví dụ trên "ru:RSI br up" dấu ' : ' là ngăn cách phải có để diễn giải từ 'ru' là gõ nhanh, còn 'RSI br up' là phần diễn giải nội dung của từ gõ nhanh đó
- Trong 16 ô gõ nhanh đó(được chia làm 4 hàng) có 3 hàng đầu được tô màu ô tùy chỉnh cầu mỗi người. hàng cuối cùng còn lại không được tô.
- Nội dung các ô ghi chú có thể được ẩn hiện trong mục cài đặt bằng ô dấu tích.
- Đặc biệt cột ghi chú riêng tư không ẩn được, vì đó là cột ghi chép, tổng hợp , phân tích , nhận định xu hướng chính, hay điểm chờ để đặt lệnh...(ô này theo tôi là quan trọng nhất...)
- Có chế độ cảnh báo siêu thông minh(có thể tùy chỉnh) khi tín hiệu mây Kumo cùng trên 4 khung thời gian cùng màu cho xu hướng chắc chắn nhất(xanh- tăng giá, đỏ- giảm giá)
- Trong mục cảnh báo có thể điều chỉnh từ 4 khung thời gian xuống còn 3 khung thời gian, 2 khung thời gian, 1 khung thời gian.
- Chế độ cảnh báo được liệt kê tên mã chính xác khi một hay nhiều mã đủ điều kiện .(ví dụ BTC , ADA , BNB...)
[BCT] Option Pricing via Markov Chain Monte Carlo SimulationOverview:
This script offers a toolkit for quantitative options trading, using Monte Carlo simulations based on actual historical returns to model potential future price paths for underlying assets. A range of metrics related to options trading are also provided.
Monte Carlo Simulations:
The script employs Monte Carlo simulations to model future price paths based on the historical returns of the underlying asset. These simulated paths are represented as parabolas at the 2-sigma, 25th percentile, and median levels for quick reference.
Methodologies:
For calculating options prices at At-the-Money (or any user-selected strike), two methodologies are used:
Simple Averaging: Takes the mean of the simulated asset price paths.
Kernel Density Estimation (KDE): Applied to the simulated asset price paths to produce a smoothed estimate of its probability density function, thereby aiding in a more nuanced option price calculation.
Bootstrap Resampling:
Bootstrap resampling is specifically applied to the simulated asset price paths to generate an estimate of the standard deviation of the options prices. Note that while bootstrap methods are employed, they serve as statistical tools and do not guarantee statistical reliability.
Metrics Displayed:
Model-Estimated At-the-Money (or selected strike) Straddle Price
Model-Estimated At-the-Money (or selected strike) Call Price
Model-Estimated At-the-Money (or selected strike) Put Price
Model-Estimated Standard deviation for Option Prices from simulated price paths
Underlying Monte Carlo Simulation Results (represented as parabolas at the 2 sigma, 25 percentile and median)
This is not financial advice. Use at your own risk.
Disclaimer: Options trading carries a high level of risk and may not be suitable for all investors. This script is intended to serve as an educational tool and should not be considered financial advice. While designed to aid in decision-making, the script's indicators are not guarantees of performance or outcomes. Always conduct your own due diligence before making trading decisions.
Machine Learning using Neural Networks | EducationalThe script provided is a comprehensive illustration of how to implement and execute a simplistic Neural Network (NN) on TradingView using PineScript.
It encompasses the entire workflow from data input, weight initialization, implicit neuron calculation, feedforward computation, backpropagation for weight adjustments, generating predictions, to visualizing the Mean Squared Error (MSE) Loss Curve for monitoring the training phase.
In the visual example above, you can see that the prediction is not aligned with the actual value. This is intentional for demonstrative purposes, and by incrementing the Epochs or Learning Rate, you will see these two values converge as the accuracy increases.
Hyperparameters:
Learning Rate, Epochs, and the choice between Simple Backpropagation and a verbose version are declared as script inputs, allowing users to tailor the training process.
Initialization:
Random initialization of weight matrices (w1, w2) is performed to ensure asymmetry, promoting effective gradient updates. A seed is added for reproducibility.
Utility Functions:
Functions for matrix randomization, sigmoid activation, MSE loss calculation, data normalization, and standardization are defined to streamline the computation process.
Neural Network Computation:
The feedforward function computes the hidden and output layer values given the input.
Two variants of the backpropagation function are provided for weight adjustment, with one offering a more verbose step-by-step computation of gradients.
A wrapper train_nn function iterates through epochs, performing feedforward, loss computation, and backpropagation in each epoch while logging and collecting loss values.
Training Invocation:
The input data is prepared by normalizing it to a value between 0 and 1 using the maximum standardized value, and the training process is invoked only on the last confirmed bar to preserve computational resources.
Output Forecasting and Visualization:
Post training, the NN's output (predicted price) is computed, standardized and visualized alongside the actual price on the chart.
The MSE loss between the predicted and actual prices is visualized, providing insight into the prediction accuracy.
Optionally, the MSE Loss Curve is plotted on the chart, illustrating the loss trajectory through epochs, assisting in understanding the training performance.
Customizable Visualization:
Various inputs control visualization aspects like Chart Scaling, Chart Horizontal Offset, and Chart Vertical Offset, allowing users to adapt the visualization to their preference.
-------------------------------------------------------
The following is this Neural Network structure, consisting of one hidden layer, with two hidden neurons.
Through understanding the steps outlined in my code, one should be able to scale the NN in any way they like, such as changing the input / output data and layers to fit their strategy ideas.
Additionally, one could forgo the backpropagation function, and load their own trained weights into the w1 and w2 matrices, to have this code run purely for inference.
-------------------------------------------------------
While this demonstration does create a “prediction”, it is on historical data. The purpose here is educational, rather than providing a ready tool for non-programmer consumers.
Normally in Machine Learning projects, the training process would be split into two segments, the Training and the Validation parts. For the purpose of conveying the core concept in a concise and non-repetitive way, I have foregone the Validation part. However, it is merely the application of your trained network on new data (feedforward), and monitoring the loss curve.
Essentially, checking the accuracy on “unseen” data, while training it on “seen” data.
-------------------------------------------------------
I hope that this code will help developers create interesting machine learning applications within the Tradingview ecosystem.
NCI Trading Plan - By LightNCINCI Trading Plan - By LightNCI
NCI, which stands for New Concept Integration by Jayce PHAM, is a comprehensive approach that incorporates various critical aspects of trading to provide a logical, structured, and integrated approach to the financial markets. NCI covers market structure, key levels, smart money concepts, multiple timeframes and market cycles
About the NCI Trading Plan Indicator
The NCI Trading Plan is just a table allowing traders to keep track of multiple assets on a single chart, ensuring a comprehensive overview of trading statuses and strategies for each asset. The status is not automatically update. Using the NCI strategy, you may update it yourself the status of each asset.
Features
1. Display up to 10 different assets: Designed to support multi-asset trading strategies.
2. Dynamic Status Indication: Visualize the trading status for each asset:
i. Monitor: Asset is under review or surveillance.
ii. Confirmation: A potential trading signal or setup is being confirmed.
iii. Entry Set: An order for the asset has been placed.
iv. Forward-Test: An asset under monitored for it to being forward test.
3. Strategy Indication: Each asset can be tagged with a specific strategy identifier:
i. CKL: Confluence Key Level
ii. UKL: Un-Confluence Key Level
iii. SMC: Smart Money Concept
iv. BRT: Break & Re-Test
v. RTNKL: Re-Test of New Key Level
4. Customisable Display: Choose which assets you wish to display with a simple toggle on/off feature.
5. Stylisation: Color-code the statuses, table and fonts to suit your visual preference.
How to use
1. Toggle Display: Use the "Show Asset" checkboxes to determine which assets are visible.
2. Asset Name: Assign a name or symbol to each asset.
3. Status Selection: Choose the current trading status for each asset.
4. Strategy Selection: Assign a trading strategy to each asset.
5. Style: Customise the appearance of your trading plan by selecting preferred colours for different statuses and headers.
Conclusion
The NCI Trading Plan ensures a systematic and organised approach to multi-asset trading. By maintaining a visual overview of various assets and their corresponding trading statuses and strategies, traders can efficiently manage their portfolio and ensure timely decision-making.
Tip: To reset or modify an asset's status or strategy, simply adjust the settings in the panel on the left. The table will update in real-time.
WealthElf - Major Market DrawdownsThis simple indicator plots major market events onto the face of any chart, thus providing context to the effect the incident on any ticker
Treasury Yields Heatmap [By MUQWISHI]▋ INTRODUCTION :
The “Treasury Yields Heatmap” generates a dynamic heat map table, showing treasury yield bond values corresponding with dates. In the last column, it presents the status of the yield curve, discerning whether it’s in a normal, flat, or inverted configuration, which determined by using Pearson's linear regression coefficient. This tool is built to offer traders essential insights for effectively tracking bond values and monitoring yield curve status, featuring the flexibility to input a starting period, timeframe, and select from a range of major countries' bond data.
_______________________
▋ OVERVIEW:
______________________
▋ YIELD CURVE:
It is determined through Pearson's linear regression coefficient and considered…
R ≥ 0.7 → Normal
0.7 > R ≥ 0.35 → Slight Normal
0.35 > R > -0.35 → Flat
-0.35 ≥ R > -0.7 → Slight Inverted
-0.7 ≥ R → Inverted
_______________________
▋ INDICATOR SETTINGS:
#Section One: Table Setting
#Section Two: Technical Setting
(1) Country: Select country’s treasury yields data
(2) Timeframe: Time interval.
(3) Fetch By:
(3A) Date: Retrieve data by beginning of date.
(3B) Period: Retrieve data by specifying the number of time series back.
Enjoy. Please let me know if you have any questions.
Thank you.
Zigzag Chart Points█ OVERVIEW
This indicator displays zigzag based on high and low using latest pine script version 5 , chart.point which using time, index and price as parameters.
Pretty much a strip down using latest pine script function, without any use of library .
This allow pine script user to have an idea of simplified and cleaner code for zigzag.
█ CREDITS
LonesomeTheBlue
█ FEATURES
1. Label can be show / hide including text can be resized.
2. Hover to label, can see tooltip will show price and time.
3. Tooltip will show date and time for hourly timeframe and below while show date only for day timeframe and above.
█ NOTES
1. I admit that chart.point just made the code much more cleaner and save more time. I previously using user-defined type(UDT) which quite hassle.
2. I have no plan to extend this indicator or include alert just I thinking to explore log.error() and runtime.error() , which I may probably release in other publications.
█ HOW TO USE'
Pretty much similar inside mentioned references, which previously I created.
█ REFERENCES
1. Zigzag Array Experimental
2. Simple Zigzag UDT
3. Zig Zag Ratio Simplified
4. Cyclic RSI High Low With Noise Filter
5. Auto AB=CD 1 to 1 Ratio Experimental
USD BRL Exchange Rate Discrepancy Analysis ScriptThe script is designed to visualize and analyze discrepancies in the exchange rates of USDT to BRL (Tether to Brazilian Real) and USDT to BRZ (Tether to Brazilian Digital Token) across various trading platforms. It fetches the closing prices of multiple trading pairs from different platforms like Bybit, Binance, and Uniswap. The primary focus is to calculate and plot the conversion rate of BTCBRZ (Bitcoin to Brazilian Real) to USD. Additionally, the script highlights the differences in buy and sell rates for USDT-BRL and USDT-BRZ pairs, including fees and percentage adjustments. Visual elements like lines and areas are used to represent these rates, offering a comprehensive view of potential arbitrage opportunities in the Bitcoin market across different exchanges.
ES/SPX/SPY conversion indicatorOverview:
This indicator helps with giving a conversion from ES, SPX and SPY to each other. Will help with setting levels on the chart based on the one of the 3 securities. For example, if you have a level from ES (futures) and want to correlate that level in the SPY, then you can put the ES option and the level you want to watch and will put the line in the corresponding level of the SPY.
How it works/Calculations:
It will use a mathematical equation to calculate the ratio between ES/SPY/SPX. Using this ratio equation, if ES price point A is wanted, then it will be correlated to the SPY and will help with knowing what levels correspond to the futures and vice versa. One thing to be aware is that Tradingview has a 15 min delayed on futures so you will not have updated pricing unless you pay for it, but for this indicator main purpose is for the people that want to correlate certain levels from futures to SPY based on technical analysis. On the settings you can choses the ticker that you want to put the levels, whether is ES, SPX or SPY and then you have multiple areas to put those levels as active or inactive. If the line is below the price point it will color red and if the line is above the price, then will be green.
Potential Pitfalls:
No potential pitfalls except as mentioned above, the delay in futures unless you pay for it.
How to use:
You should not be using this indicator for entries or stop. This indicator will help correlate levels from ES, SPX and SPY among themselves.
Who will benefit from this indicator? Whoever likes to do technical analysis on the futures and want to watch those levels into the spy and correlate them.
Settings:
-Very simple settings, first you chose the one that you want to compare with. You will have 3 choices, ES, SPX, SPY. If you have the SPY chart and want to compare with ES, then chose ES and then put the levels from ES that you want to mark on the SPY.
Disclaimer:
This is still an indicator that is being tested and in no way should be used alone. Currently will be in closed beta to find bugs and to work on accuracy.
The information contained in this script does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts are only for educational purposes!
[AlbaTherium] Sessional & Daily's liquidities - Beta Sessional & Daily Liquidities - Beta: Harnessing the Power of the Institutional Funding Candle (IFC) in Trading
Introduction:
The Sessional & Daily Liquidities - Beta indicator places the Institutional Funding Candle (IFC) at its core. Within the realm of trading, the IFC stands as a key signal for identifying Points of Interest (POIs) , offering traders invaluable insights into market dynamics. This document aims to illuminate the central role of the IFC within the Sessional & Daily Liquidities - Beta indicator, explaining how it can be effectively utilized to spot significant changes in the market and seize trading opportunities.
Chapter 1: Sessional Liquidity concepts
The forex market can be broken up into four major trading sessions: the Sydney session, the Tokyo session, the London session, and Trump’s favorite time to tweet (before he was banned), the New York session.
Historically, the forex market has three peak trading sessions. Traders often focus on one of the three trading periods, rather than attempt to trade the markets 24 hours per day. This is known as the “forex 3-session system“. These sessions consist of the Asian, European, and North American sessions, which are also called Tokyo, London, and New York sessions.
For that reason, a lot of trader put their stoploss right at the High or Low of their session, filling these price levels with liquidities. The market loves liquidities, they are like the “fuel” of the market. Price usually goes to these levels, takes out all the liquidities, and then returns to its original direction. This price behaviour indicates the presence of players – banks, institutions,... – driving the market to their own profit.
The same logic applies with Daily, Weekly and Monthly high/low levels.
Chapter 2: Deciphering the Institutional Funding Candle
2.1 Unveiling the Essence of the Institutional Funding Candle (IFC)
- IFC concept is the core of this indicator. It is recommended to use this indicator on high timeframes, like 1H or 4H charts, as those are the timeframes which big players look at.
- The presence of IFC candles means a significant amount of stop loss is triggered, and price have a tendency to reverse.
2.2 Criteria for IFC Identification
The definition of specific conditions that characterize an IFC within the Sessional & Daily Liquidities - Beta indicator:
- A breach of Previous day, Previous week, or Previous month’s High or Low levels or a breach of major Session Highs or Lows.
- Price made an immediate reverse, creating a decent distance from the wicks.
Chapter 2: Trading Strategies with the IFC
User should treat these signals with cautions, and only take trades with multi confluences.
This pictures below demonstrate a strategy to trade with this indicator, taking 1H HTF trend and 5m LTF ChoCh and Single Candle Order Block as confluences.
Conclusion:
The Sessional & Daily Liquidities - Beta indicator, centered around the Institutional Funding Candle (IFC), stands as a potent tool for traders, offering them the means to spot critical inflection points in the market. By understanding the role of the IFC in violating significant swing highs or lows and major session highs or lows, traders can make informed decisions and seize opportunities within the ever-evolving realm of financial markets. It's crucial to note that while IFC candle colors can provide insights, they do not unilaterally dictate market direction. Furthermore, candle closure can be a valuable consideration in specific situations, particularly when evaluating other High Time Frame POIs.
The real-world examples presented in this document within the Sessional & Daily Liquidities - Beta indicator offer a tangible insight into the world of IFC trading. Harness the potential of the Institutional Funding Candle within the Sessional & Daily Liquidities - Beta indicator to elevate your trading strategies and make well-informed decisions in the dynamic landscape of financial markets.
[AbaTherium] Internal ranges analysis - Beta Internal Ranges Analysis - IRA - Beta
Introduction:
Internal Ranges Analysis - IRA - Beta is a cutting-edge technical analysis tool designed to enhance your trading prowess. This beta version introduces three vital concepts: "Liquidity Sweep" , "Single Candle Mitigation Entry" , and "Single Candle Order Block Entry" . These concepts provide traders with a nuanced perspective on price action dynamics and opportunities for entry into the market.
Chapter 1: Understanding Liquidity Sweep
1.1 Liquidity Sweep Defined
- Liquidity Sweep occurs when the market price reacts after taking out a historical pivot. This phenomenon often signifies a swift move designed to clear resting buy or sell orders in the market. IRA - Beta excels at identifying and visualizing Liquidity Sweep events, allowing traders to capitalize on them.
Chapter 2: Single Candle Mitigation Entry
2.1 Introduction to Single Candle Mitigation Entry
- Single Candle Mitigation (SCM) Entry is a strategic approach employed when price action takes out the high or low of the preceding candle. This entry method is designed to capitalize on potential reversals or shifts in market sentiment. IRA - Beta offers effective tools to identify and act upon Single Candle Mitigation opportunities.
2.2 Single Candle Order Block Entry
- Traders can also explore the concept of Single Candle Order Blocks, where specific price levels act as potential entry points. This feature is integrated into IRA - Beta, providing traders with additional options for making well-informed entry decisions.
Chapter 3: Real-World Examples
Trading with internal structures needs to be done carefully with multiple confluences, like current market bias or LTF confirmations.
Here is an example on using liquidities concept and break of SCOB as confluences to enter a trade:
Conclusion:
Internal Ranges Analysis - IRA - Beta is a valuable asset for traders seeking to gain an edge in today's dynamic markets. By focusing on concepts like Liquidity Sweep, Single Candle Mitigation Entry , and Single Candle Order Block Entry , this tool equips traders with the knowledge and tools needed to make informed entry decisions. Whether you're a seasoned trader or just starting your journey, IRA - Bet a can help you navigate through the complexities of price action and make more informed trading choices.
This document serves as a comprehensive guide to Internal Ranges Analysis - IRA - Beta , highlighting its significance in understanding market dynamics and leveraging key trading concepts. Incorporating these principles into your trading strategies can lead to improved decision-making and potentially more profitable outcomes.
[AlbaTherium] Structure Mapping with Demand & Supply Zones Structure Mapping v3.0 with Demand & Supply Zones
Introduction:
Structure Mapping v3.0 with Demand & Supply Zones marks a significant advancement in the realm of technical analysis and trading tools. This latest version of the indicator is designed to offer traders a comprehensive understanding of market structure and key demand and supply zones based on a refined version of Smart Money Concepts. All the concepts integrated into this method are meticulously defined, empowering users to map the market structure with confidence. With this indicator, there's no need to doubt the accuracy of your markings; it performs this task effectively. There are no hidden 'magic' properties underlying this indicator, ensuring that our users can independently verify each and every feature. It is our unwavering commitment to transparency that distinguishes us and makes us unique in the market.
Chapter 1: Understanding Market Structure
1.1 Market Structure Defined:
- Market structure forms the bedrock upon which successful trading strategies are constructed. It encompasses the highs, lows, and significant price levels that shape a market's behavior. Structure Mapping v3.0 provides a clear visualization of market structure, enabling traders to identify crucial support and resistance levels.
1.2 The Power of Structural Analysis:
- Structural analysis is a pivotal component of this indicator. By recognizing the fundamental elements of market structure, traders can make informed decisions regarding trend direction, potential reversals, and optimal entry and exit points.
1.3 Rules for Structure Mapping:
Let's explore some key definitions:
- Inside bars: These are candles that exist within the range of a preceding candle.
- Pullbacks: In an uptrend, a valid pullback occurs when the low of a previous candle's range (excluding inside bars) is breached, and the price continues to rise.
- Inducements (IDM): An inducement is a price level. In an uptrend, it is defined as the low of the latest pullback before the highest high. It is considered a liquidity area, often revisited by the market to access liquidity before continuing its upward movement.
- Break of Structure (BoS): In an uptrend, after surpassing an IDM , the highest high becomes a Confirmed structure high, or a Major High . If the price then closes above this Major High, a Bullish Break of Structure (Bullish BoS) is confirmed. Similarly, the lowest point between these movements becomes a Confirmed structure low or Major Low in a downtrend.
Change of Character (ChoCh):
In an uptrend, if the price falls below a Major Low, it indicates a shift in market bias from Bullish to Bearish, or a Bearish Change of Character.
Example of a bullish ChoCh:
Chapter 2: Demand & Supply Zones
2.1 Introduction to Demand & Supply Zones:
- Demand and Supply zones are critical areas on a price chart where significant buying or selling pressure is expected. This indicator highlights these zones, enabling traders to anticipate potential price reactions.
2.2 Identifying Demand and Supply Zones:
A Demand or Supply zone is the first candle of a pullback that leaves a Fair value gap.
Classic example of a trade with our indicator:
Conclusion:
Structure Mapping v3.0 with Demand & Supply Zones is a potent tool for traders seeking to gain an advantage in the financial markets. By focusing on market structure and identifying key demand and supply zones, this indicator equips traders with the knowledge they need to make informed decisions. Whether you're a novice or an experienced trader, this tool can enhance your technical analysis and trading strategies in the dynamic world of trading.
This document serves as a comprehensive guide to Structure Mapping v3.0 with Demand & Supply Zones, emphasizing its significance in understanding market dynamics and identifying critical trading zones. Applying these principles in your trading endeavors can lead to improved decision-making and more profitable outcomes.
[AlbaTherium] Structure Mapping & Order Blocks Advanced - Beta An Insight into Structure Mapping and Order Block Identification with Smart Money Concepts
Introduction:
Structure Mapping & Order Blocks Advanced - Beta serves as a fundamental pillar in the realm of Smart Money Concepts . This indicator adeptly charts the market structure based on a refined version of SMC while identifying Order Blocks. All the concepts embedded in this method are meticulously defined, offering users the ability to chart the market structure with heightened confidence. With this indicator, there is no need for excessive questioning of the accuracy of your markings; it diligently strives to perform this task effectively. There are no hidden 'magic' properties underlying this indicator, ensuring that our users can independently verify each and every feature. It is this commitment to transparency that sets us apart and makes us unique in the market.
In this discussion, we delve into the intricacies of Break of Structure , Change of Character , and SMART MONEY TRAP . We also introduce the concepts of Extreme Order Blocks , Decisional Order Blocks , and Smart Money Trap Order Blocks .
Chapter 1: Understanding Structure Mapping:
Let's begin with some definitions:
- Inside bars are candles that lie within the range of a preceding candle.
- Pullbacks occur in an uptrend when the low of a preceding candle's range (excluding inside bars) is breached, and the price continues to rise.
- Inducements (IDM) are price levels defined as the low of the latest pullback before the most recent high. They often act as liquidity points that the market revisits before continuing its move.
- Break of Structure (BoS):
In an uptrend, after surpassing an IDM , the most recent high becomes a Confirmed structure high, or a Major High . If the price then closes above this Major High , a Bullish Break of Structure (Bullish BoS) is confirmed. Similarly, the lowest point between these movements becomes a Confirmed structure low or Major Low in a downtrend.
- Change of Character (ChoCh):
In an uptrend, if the price falls below a Major Low , it indicates a shift in market bias from Bullish to Bearish, or a Bearish Change of Character .
Example of a bullish ChoCh :
Chapter 2: The Significance of Order Blocks:
Order Blocks (OB) play a pivotal role in Smart Money Concepts during entry points. Understanding what they represent and how to identify them is essential. For a Bullish/Bearish Order Block to be confirmed, specific conditions, including price imbalance and breaching the previous candle's high or low, must be met. We will delve into the finer details of identifying and trading Order Blocks, with an emphasis on the fact that price often reacts from Decisional Order Blocks, Extreme Order Blocks , and Smart Money Trap Order Blocks .
- An OB is the initial candle range of a pullback that creates a Fair value gap .
These are zones where proactive traders enter the market, resulting in significant price changes indicated by Fair value gaps . It is believed that when the price revisits these zones in the future, it tends to bounce back. This property makes Order Blocks excellent potential entry points.
Order Blocks are categorized as follows:
- Extreme OB : The first and lowest OB between the Major Low and Major High.
- Decisional OB : The most recent OB lower than the current IDM.
- Smart Money Traps : All OBs between Extreme and Decisional OB.
- Demand above IDM / Supply below IDM
Chapter 3: Understanding SMART MONEY TRAP (SMT):
SMART MONEY TRAP is a concept that brings clarity to the distinction between Structure and Order Blocks within Smart Money Concepts and is a unique feature of this indicator. While many Smart Money Traders base their trades on Structure and Order Blocks, it's crucial to recognize that Order Blocks serve as an additional confirmation for buy or sell decisions. Blindly trading based on Order Blocks is not advisable. Instead, traders should exercise patience and await other confirmations like inducement or Liquidity sweep before executing trades on Order Blocks. We will illustrate how this concept works in practice.
In the example above, the market largely disregards all the SMT s and responds favorably to the Extreme OB . This presents a promising trading opportunity, with a stop loss placed below the OB and a take profit set at the fill of the Fair value gap.
Conclusion:
Structure Mapping & Order Blocks Advanced - Beta embodies the essence of Smart Money Concepts , serving as a powerful tool for traders. This indicator effectively combines the elements of structure mapping and Order Blocks to guide trading decisions. By comprehending the dynamics of Impulsive Moves and Corrections, distinguishing between Bearish and Bullish Order Flow, and mastering the identification and trading of Order Blocks while considering SMART MONEY TRAP, traders can gain a competitive edge in the dynamic landscape of financial markets.
This document serves as a comprehensive guide to Structure Mapping & Order Blocks Advanced - Beta, highlighting its significance within the Smart Money Concepts framework. It is essential to apply these concepts judiciously to enhance trading.
Risk Reward Optimiser [ChartPrime]█ CONCEPTS
In modern day strategy optimization there are few options when it comes to optimizing a risk reward ratio. Users frequently need to experiment and go through countless permutations in order to tweak, adjust and find optimal in their data.
Therefore we have created the Risk Reward Optimizer.
The Risk Reward Optimizer is a technical tool designed to provide traders with comprehensive insights into their trading strategies.
It offers a range of features and functionalities aimed at enhancing traders' decision-making process.
With a focus on comprehensive data, it is there to help traders quickly and efficiently locate Risk Reward optimums for inbuilt of custom strategies.
█ Internal and external Signals:
The script can optimize risk to reward ratio for any type of signals
You can utilize the following :
🔸Internal signals ➞ We have included a number of common indicators into the optimizer such as:
▫️ Aroon
▫️ AO (Awesome Oscillator)
▫️ RSI (Relative Strength Index)
▫️ MACD (Moving Average Convergence Divergence)
▫️ SuperTrend
▫️ Stochastic RSI
▫️ Stochastic
▫️ Moving averages
All these indicators have 3 conditions to generate signals :
Crossover
High Than
Less Than
🔸External signal
▫️ by incorporating your own indicators into the analysis. This flexibility enables you to tailor your strategy to your preferences.
◽️ How to link your signal with the optimizer:
In order to be able to analysis your signal we need to read it and to do so we would need to PLOT your signal with a defined value
plot( YOUR LONG Condition ? 100 : 0 , display = display.data_window)
█ Customizable Risk to Reward Ratios:
This tool allows you to test seven different customizable risk to reward ratios , helping you determine the most suitable risk-reward balance for your trading strategy. This data-driven approach takes the guesswork out of setting stop-loss and take-profit levels.
█ Comprehensive Data Analysis:
The tool provides a table displaying key metrics, including:
Total trades
Wins
Losses
Profit factor
Win rate
Profit and loss (PNL)
This data is essential for refining your trading strategy.
🔸 It includes a tooltip for each risk to reward ratio which gives data for the:
Most Profitable Trade USD value
Most Profitable Trade % value
Most Profitable Trade Bar Index
Most Profitable Trade Time (When it occurred)
Position and size is adjustable
█ Visual insights with histograms:
Visualize your trading performance with histograms displaying each risk to reward ratio trade space, showing total trades, wins, losses, and the ratio of profitable trades.
This visual representation helps you understand the strengths and weaknesses of your strategy.
It offers tooltips for each RR ratio with the average win and loss percentages for further analysis.
█ Dynamic Highlighting:
A drop-down menu allows you to highlight the maximum values of critical metrics such as:
Profit factor
Win rate
PNL
for quick identification of successful setups.
█ Stop Loss Flexibility:
You can adjust stop-loss levels using three different calculation methods:
ATR
Pivot
VWAP
This allows you to align risk-reward ratios with your preferred risk tolerance.
█ Chart Integration:
Visualize your trades directly on your price chart, with each trade displayed in a distinct color for easy tracking.
When your take-profit (TP) level is reached , the tool labels the corresponding risk-reward ratio for that specific TP, simplifying trade management.
█ Detailed Tooltips:
Tooltips provide deeper insights into your trading performance. They include information about the most profitable trade, such as the time it occurred, the bar index, and the percentage gain. Histogram tooltips also offer average win and loss percentages for further analysis.
█ Settings:
█ Code:
In summary, the Risk Reward Optimizer is a data-driven tool that offers traders the ability to optimize their risk-reward ratios, refine their strategies, and gain a deeper understanding of their trading performance. Whether you're a day trader, swing trader, or investor, this tool can help you make informed decisions and improve your trading outcomes.
01 Position CalculatorI present to your attention a calculator for calculating the volume per position.
This calculator is tested on cryptocurrency trading and MOEX liquid shares!
This calculator is suitable for beginners to make it easier to study trading and not get confused at the very beginning with volume calculations, I also use it for virtual trading, a position is drawn on the chart in real time, which shows the amount of loss or profit, that is, with the help of it I I practice different strategies without losing real money on experiments.
All calculations are made at your risk.
You need to indicate what your working deposit is, what percentage of it you are willing to risk per day, the number of your losing trades for one trading session, after which you will stop trading for that day, the amount of risk will be divided by the number of unprofitable trades.
The principle of operation is as simple as possible, you need to indicate three lines on the chart 1 - time line: it is needed so that a position on the chart can be drawn from it. 2 – Entry line for entering a position: the price at which you want to buy an asset. 3 – stop loss line “SL”: the price upon reaching which your losing trade will be closed. If the 3-stop loss line is placed below the 2-Entry line, then a long position will be calculated, if the stop loss line is above the Entry line, then a short position will be calculated. take profit "TP" is calculated automatically according to your settings in the menu.
And so on in order through the menu from top to bottom.
1. Rounding the volume to a whole number: if you select “round”, then the volume of the acquired asset (shares, coins, etc.) will be rounded to a whole number, but be careful if your deposit is $100, and the cost of 1 unit of the asset is more than $1000, then the calculator will give error. MOEX shares are traded only in whole lots, so rounding occurs automatically.
2. Automatic calculation of SL in 1 ATR of the selected TF (auto/manual) (ATR...): if you select auto and specify, for example, ATR 1h, then your “SL” will be calculated automatically and set at a distance from Entry of 1 ATR of the hourly time frame (this is the average price change over 1 hour)
3. Cryptocurrency deposit commission, MOEX deposit commission: I made two different deposits on purpose so as not to change the settings each time, depending on the schedule you choose, MOEX or cryptocurrency, the required deposit and commission will be automatically taken into account.
4. Slippage: this is the percentage of slippage on closing a position at a stop loss.
5. Daily drawdown % (...): this is the percentage of your trading deposit that you are willing to risk for one trading session, the amount at risk.
6. Ratio rice /profit 1/ (...): you need to indicate the SL/TP ratio, based on this your income per trade is calculated and the distance to TP is outlined on the graph.
7. Number of losing trades (...): this is the number of your trades per trading session after receiving which you will end trading for that day, the amount of risk will be divided by the number of losing trades.
8. Position: you can enter the start date of the position and Entry and SL prices
9. ATR – specify the number of last candles to calculate the average price movement of the selected time frame
Now, as for the tables located by default on the left and right at the bottom of the screen, I made windows with descriptions; when you hover the cursor over a cell, a description pops up.
RU
Этот калькулятор проверен, на торговле криптовалюты и ликвидных акциях MOEX!
Этот калькулятор подойдет начинающим, чтоб облегчить изучение торговли и не запутаться в самом начале с расчётами объемов, так же я использую его для виртуальной торговли, на графике в реальном времени рисуется позиция, на которой видно суму убытка или прибыли, то есть с помощью него я отрабатываю разные стратегии, не теряя реальные деньги на эксперименты.
Все расчеты делаются от вашего риска.
Вам необходимо указать какой ваш рабочий депозит, каким процентом от него вы готовы рискнуть на день, количество ваших убыточных сделок на одну торговую сессию, после которых вы прекратите торговлю на этот день, сумма риска будет поделена на количество убыточных сделок.
Принцип работы максимально прост, вам нужно указать на графике три линии 1 - линия время: она нужна чтоб от нее рисовался позиция на графике. 2 –линия Entry входа в позицию: цена по которой вы хотите купить актив. 3 – линия stop loss «SL»: цена при достижении которой закроется ваша убыточная сделка. Если линию 3-stop loss разместить под линией 2-Entry то будет рассчитываться длинная позиция, ели лини stop loss будет над линией Entry то будет рассчитываться короткая позиция. take profit «TP» рассчитывается автоматически согласно вашим настройкам в меню.
И так по порядку по меню с верху в низ.
1. Округление объема до целого: если выбрать «round -округлить», то объем приобретаемого актива (акции, монеты и другого) будет округлен до целого числа, но будьте внимательны если ваш депозит 100$, а стоимость 1 единицы актива более 1000$ то калькулятор выдаст ошибку. Акции MOEX торгуются только целыми лотами потому округление происходит автоматически.
2. Авто расчёт SL в 1 ATR выбранного TF (auto/manual) (ATR…): если выбрать auto и указать, к примеру ATR 1h, то ваш «SL», будет рассчитан автоматически и выставлен на расстоянии от Entry в 1 ATR часового time frame (это усредненное изменение цены за 1 час)
3. Депозит крипто валюты комиссия, депозит MOEX комиссия: сделал специально два разных депозита чтоб каждый раз не менять настройки, в зависимости от выбранного вами графика, MOEX или криптовалюта, будет автоматически браться в расчет нужный депозит и комиссия.
4. Проскальзывание: это процент на проскальзывание закрытия позиции по stop loss.
5. Просадка на день % (…): это процент от вашего торгового депозита, которым вы готовы рискнуть на одну торговую сессию, сумма риска надень.
6. Соотношение рис /прибыль 1/ (…): вам нужно указать соотношение SL/TP на основе этого рассчитывается ваш доход на сделку и на графике обрисовывается расстояние до TP.
7. Количество убыточных сделок (…): это количество ваших сделок на торговую сессию после получения, которых вы закончите торговлю на этот день, сумма риска надень будет поделена на количество убыточных сделок.
8. Позиция: можно вписать дату начала позиции и цены Entry и SL
9. ATR – укажите количество последних свечей для расчета среднего движения цены выбранного time frame
Теперь что касается таблиц расположенных по умолчанию с лева и справа в низу экрана, я сделал окна с описаниями, при наведении курсора на ячейку всплывает описание.
LBR-Volatility Breakout BarsThe originator of this script is Linda Raschke of LBR Group.
This Pine Script code is the version 5 of LBR Paintbars for TradingView, called "LBR-Bars." It was originally coded for TradingView in version 3 by LazyBear. It is a complex indicator that combines various features such as coloring bars based on different conditions, displaying Keltner channels, and showing volatility lines.
Let me break down the key components and explain how it works:
1. Inputs Section: This section defines various input parameters that users can adjust when adding the indicator to their charts. These parameters allow users to customize the behavior and appearance of the indicator. Here are some of the key input parameters:
- Users can control whether to color bars under different conditions. For example,
they can choose to color LBR bars, color bars above/below Kelts, or color non-LBR
bars.
- Users can choose whether to show volatility lines or shade Keltner channels' area
with the Mid being the moving average on the chart.
- In the calculation of Keltner channels, users can set the length of the moving
average that the Keltner channels use as the mid and then set the Keltner multiplier.
If users want to use "True Range" to determine calculations, they can turn it on or
off; it defaults to off.
- Users can change the calculation of volatility lines and set the length for finding the
lowest and highest prices. The user sets the ATR length and multiplier for the ATR.
2. Calculation Section: This section defines the calculation of the upper and lower standard deviation bands based on the input parameters. It uses Exponential Moving Averages (EMAs) and optionally True Range to calculate these bands if turned on. These bands are used in the Keltner channel calculation.
3. Keltner Channel Section: This section calculates the upper, middle, and lower lines of the Keltner channels. It also plots these lines on the chart. The colors and visibility of these lines are controlled by user inputs.
4. Volatility Lines Section: This section calculates the upper and lower volatility lines based on the lowest and highest prices over a specified period and the ATR. It also checks whether the current close price is above or below these lines accordingly. The colors and visibility of these lines are controlled by user inputs.
5. Bar Colors Section: This section determines the color of the bars on the chart based on various conditions. It checks whether the current bar meets conditions like being an LBR bar, being above or below volatility lines, or being in "No Man's Land." The color of the bars is set accordingly based on user inputs.
This Pine Script creates an indicator that provides visual cues on the chart based on Keltner channels, volatility lines, and other customizable conditions. Users can adjust the input parameters to tailor the indicator's behavior and appearance to their trading preferences.
Interactive MA Stop Loss [TANHEF]This indicator is "Interactive." Once added to the chart, you need to click the start point for the moving average stoploss. Dragging it afterward will modify its position.
Why choose this indicator over a traditional Moving Average?
To accurately determine that a wick has crossed a moving average, you must examine the moving average's range on that bar (blue area on this indicator) and ensure the wick fully traverses this area.
When the price moves away from a moving average, the average also shifts towards the price. This can make it look like the wick crossed the average, even if it didn't.
How is the moving average area calculated?
For each bar, the moving average calculation is standard, but when the current bar is involved, its high or low is used instead of the close. For precise results, simply setting the source in a typical moving average calculation to 'Low' or 'High' is not sufficient in calculating the moving average area on a current bar.
Moving Average Options:
Simple Moving Average
Exponential Moving Average
Relative Moving Average
Weighted Moving Average
Indicator Explanation
After adding indicator to chart, you must click on a location to begin an entry.
The moving average type can be set and length modified to adjust the stoploss. An optional profit target may be added.
A symbol is display when the stoploss and profit target are hit. If a position is create that is not valid, "Overlapping MA and Bar" is displayed.
Alerts
'Check' alerts to use within indicator settings (stop hit and/or profit target hit).
Select 'Create Alert'
Set the condition to 'Interactive MA''
Select create.
Alert messages can have additional details using these words in between two Curly (Brace) Brackets:
{{stop}} = MA stop-loss (price)
{{upper}} = Upper MA band (price)
{{lower}} = Lower MA band (price)
{{band}} = Lower or Upper stoploss (word)
{{type}} = Long or Short stop-loss (word)
{{stopdistance}} = Stoploss Distance (%)
{{targetdistance}} = Target Distance (%)
{{starttime}} = Start time of stoploss (day:hour:minute)
{{maLength}} = MA Length (input)
{{maType}} = MA Type (input)
{{target}} = Price target (price)
{{trigger}} = Wick or Close Trigger input (input)
{{ticker}} = Ticker of chart (word)
{{exchange}} = Exchange of chart (word)
{{description}} = Description of ticker (words)
{{close}} = Bar close (price)
{{open}} = Bar open (price)
{{high}} = Bar high (price)
{{low}} = Bar low (price)
{{hl2}} = Bar HL2 (price)
{{volume}} = Bar volume (value)
{{time}} = Current time (day:hour:minute)
{{interval}} = Chart timeframe
{{newline}} = New line for text
I will add further moving averages types in the future. If you suggestions post them below.
Clone Pivots. Oct_2023Conceptually very simple.
The all time high or low of the chart (this indicator can be used with non-price sources as well), is used to divide the price pane continuously by 2.
For example the first pivot is (All Time High + All Time Low)/2.
From this point the price chart is further divided by 2.
The user can set the depth of division, and the lines for depth are only shown around the price.
About clone pivots.
- they can be used for ladder trading
- they are based on the range of the stock or instrument price
An alternative is available to use Fib divisions rather than simple divide by 2 method.
Labels may be placed with price or without. And depth of labelling is also an option.
Clone pivots at 50% tend to work very well with price structures - give it a try and see if it helps your trading!
Pine source uses UDTs, Methods, Arrays and Maps.
Double RSI 00 1.0This script creates a custom indicator, visualizes two RSI values (RSI1 and RSI2) on the chart and generates alerts based on different RSI-related conditions, which can be used for technical analysis and trading strategies. Users can customize the RSI parameters and alert levels according to their preferences.
It includes several input parameters that allow the user to customize the RSI calculations and overbought/oversold levels. These parameters include:
length_1: RSI1 Length (default: 7)
length_2: RSI2 Length (default: 12)
overbought_1: Overbought Signal level for RSI1 (default: 75)
oversold_1: Oversold Signal level for RSI1 (default: 25)
overbought_2: High Overbought Signal level for RSI1 (default: 85)
oversold_2: High Oversold Signal level for RSI1 (default: 15)
The script calculates two RSI values: rsi_1 and rsi_2, based on the high and low prices averaged (hl2) and the specified RSI lengths.
It plots these RSI values on the chart using different colors and line widths.
Several horizontal lines are drawn on the chart to represent key levels:
h0: 0 (Lower Band)
h1: 50 (Middle Band)
h2: 100 (Upper Band)
h3: The Oversold level (customizable)
h4: The Overbought level (customizable)
h5: The High Oversold level (customizable)
h6: The High Overbought level (customizable)
The script defines alert conditions for various signals, including overbought, oversold, high overbought, high oversold, long (crossover between RSI1 and RSI2), and short (crossunder between RSI1 and RSI2).
It sends alerts when these conditions are met, indicating potential trading signals.
Please note that this script is meant for educational purposes and should be used cautiously in a real trading environment. It's important to have a thorough understanding of technical analysis and risk management when using such indicators in actual trading.
Smart Money [Sir_Castle]The Smart Money indicator, developed by Sir_Castle , is a sophisticated tool designed to empower traders with a comprehensive set of features for insightful market analysis. Here's an overview of its key functionalities:
Bollinger Bands and Price Action Signals:
The indicator incorporates a signal system that facilitates a detailed study of Bollinger Bands and price action dynamics.
Traders can leverage these signals to gain valuable insights into market trends and potential entry/exit points.
Multiple Indicator Integration:
The Smart Money indicator seamlessly integrates multiple indicators, allowing users to customize and enhance the interpretation of signals generated by Bollinger Bands and price action studies.
This flexibility empowers traders to fine-tune their analysis based on their unique preferences and strategies.
Configurable EMA and EMA Clouds:
The indicator provides configurable Exponential Moving Averages (EMA) and EMA Clouds, enabling users to adapt these moving averages to suit their trading objectives.
Traders can efficiently incorporate these customizable features to align with their specific market perspectives.
ATR-Based Stop Loss Calculation:
The Smart Money indicator calculates Stop Loss levels using the Average True Range (ATR), offering a dynamic risk management tool.
This ATR-based approach adds a layer of precision to risk control strategies, enhancing overall trade management.
Configurable Bollinger Bands:
Traders can tailor Bollinger Bands settings to match their preferences and market conditions, ensuring adaptability to different asset classes and timeframes.
This customization feature provides a versatile tool for technical analysis.
Note: The Smart Money indicator is for educational purposes only. Signals aid in price action analysis, and users are encouraged to combine insights with personal due diligence.
Thank you for considering the Smart Money indicator for your trading toolkit. Happy trading!"