trader. StockSharphttps://stocksharp.com/handlers/atom.ashx?category=tag&id=trader&type=communityCopyright @ StockSharp Platform LLC 2010 - 20242024-03-29T10:52:45Zhttps://stocksharp.com/images/logo.pnghttps://stocksharp.com/topic/24725/Stop-loss orders techniques use for Risk Management2023-05-13T16:10:34Z2023-05-16T11:16:23ZPannipahttps://stocksharp.com/users/164332/info@stocksharp.com<div align="center"><a href='https://stocksharp.com/file/142943/maxresdefault_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/142943/maxresdefault_jpg/?size=500x500" alt="maxresdefault.jpg" title="maxresdefault.jpg" /></a></div><br /><br />💥💥Stop-loss orders are a common risk management technique used in quantitative trading strategies. A stop-loss order is a type of order that is placed with a broker to sell or buy a security once it reaches a certain price. The goal of a stop-loss order is to limit the potential loss on a trade, by closing the position if the price moves against the expected direction.<br /><br />💥In quantitative analysis, stop-loss orders are often used in combination with other trading strategies, such as trend-following or momentum trading. For example, a trend-following strategy might use a stop-loss order to close out a position if the price of a security falls below a certain level, indicating that the trend has reversed.<br /><br />⚡️One common type of stop-loss order is the "trailing stop," which is a dynamic order that adjusts as the price of the security moves in the expected direction. A trailing stop is set at a certain percentage or dollar amount below the current market price of the security, and it moves up as the price of the security increases. If the price of the security falls below the trailing stop, the order is executed and the position is closed.<br /><br />💥Another type of stop-loss order is the "fixed stop," which is a static order that does not change as the price of the security moves. A fixed stop is set at a certain price level, and if the price of the security falls below that level, the order is executed and the position is closed.<br /><br />⚡️Stop-loss orders can be used to manage risk in a number of ways. For example, they can be used to limit the potential loss on a single trade, or they can be used to limit the overall risk exposure of a portfolio. Stop-loss orders can also be used in conjunction with other risk management techniques, such as diversification or hedging.<br /><br /><div align="center"><a href='https://stocksharp.com/file/142944/63c87be3da601970baebe872_pexels-nataliya-vaitkevich-6120214-large_jpeg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/142944/63c87be3da601970baebe872_pexels-nataliya-vaitkevich-6120214-large_jpeg/?size=500x500" alt="63c87be3da601970baebe872_pexels-nataliya-vaitkevich-6120214 Large.jpeg" title="63c87be3da601970baebe872_pexels-nataliya-vaitkevich-6120214 Large.jpeg" /></a></div><br /><br />💥Stop-loss orders are widely used by traders to minimize their losses in case a trade goes against their expectations. Here are some examples of stop-loss order techniques used in quantitative analysis:<br /><br />👉 1. Fixed percentage stop-loss: This is a commonly used stop-loss technique in which a trader sets a percentage below the entry price as the stop-loss level. For example, a trader might set a 5% stop-loss on a long position. If the price falls 5% below the entry price, the stop-loss order is triggered, and the position is automatically closed.<br /><br />👉 2. Volatility-based stop-loss: In this technique, the stop-loss level is based on the volatility of the asset being traded. For example, if the volatility of an asset is high, the stop-loss level will be wider to account for the higher price fluctuations. On the other hand, if the volatility is low, the stop-loss level will be tighter.<br /><br />👉 3. Moving average stop-loss: This technique uses the moving average of the asset price to determine the stop-loss level. For example, a trader might use a 50-day moving average as the stop-loss level. If the price falls below the 50-day moving average, the stop-loss order is triggered.<br /><br />👉 4. Support and resistance stop-loss: This technique uses the support and resistance levels of an asset to determine the stop-loss level. For example, a trader might set the stop-loss level just below the support level of the asset. If the price falls below the support level, the stop-loss order is triggered.<br /><br />👉 5. Trailing stop-loss: This technique is used to lock in profits as the price of the asset moves in favor of the trader. The stop-loss level is set at a certain percentage or dollar amount below the highest price reached since the trade was opened. For example, a trader might set a trailing stop-loss of 10% on a long position. If the price increases by 20%, the stop-loss level will be adjusted to 10% below the highest price reached since the trade was opened. If the price then falls by 10%, the stop-loss order is triggered.<br /><br />💥These are just a few examples of the different stop-loss order techniques used in quantitative analysis. The choice of technique will depend on the trader's individual trading style and the characteristics of the asset being traded.<br /><br />💥💥Overall, stop-loss orders are a valuable tool in the arsenal of quantitative traders, and can help to reduce the impact of unexpected market movements on trading strategies.https://stocksharp.com/topic/24701/Mean Reversion Trading techniques in Algorithmic Trading2023-05-08T16:21:11Z2023-05-14T08:09:03ZPannipahttps://stocksharp.com/users/164332/info@stocksharp.com<div align="center"><a href='https://stocksharp.com/file/142842/maxresdefault_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/142842/maxresdefault_jpg/?size=500x500" alt="maxresdefault.jpg" title="maxresdefault.jpg" /></a></div><br /><br />💥💥Mean Reversion Trading is a popular strategy in quantitative analysis that involves identifying assets whose prices have deviated significantly from their average levels and then entering a trade with the expectation that the price will eventually return to the mean. The strategy is based on the assumption that markets tend to oscillate around a mean value, and that deviations from this value will eventually be corrected.<br /><br />There are several techniques used in Mean Reversion Trading, some of which include:<br /><br />👉 1. Moving Average: A common technique is to use moving averages as a mean-reverting indicator. When the price of an asset moves away from the moving average, it is considered to be overbought or oversold, and a trader can enter a trade with the expectation that the price will eventually return to the moving average.<br /><br />👉 2. Bollinger Bands: Bollinger Bands are a technical indicator that measures the volatility of an asset's price relative to its moving average. When the price of an asset moves outside of the upper or lower Bollinger Band, it is considered to be overbought or oversold, and a trader can enter a trade with the expectation that the price will eventually return to the moving average.<br /><br />👉 3. Mean Reversion Oscillator: The Mean Reversion Oscillator is a technical indicator that measures the distance between an asset's price and its mean value. When the oscillator is above a certain threshold, the asset is considered overbought, and when it is below a certain threshold, the asset is considered oversold. A trader can enter a trade with the expectation that the price will eventually return to the mean value.<br /><br />👉 4. Pairs Trading: Pairs trading is a mean reversion strategy that involves identifying two assets that are highly correlated and trading the difference in their prices. When the price of one asset deviates from the other, a trader can enter a trade with the expectation that the prices will eventually converge.<br /><br />👉 5. Relative Strength Index (RSI): The RSI is a momentum oscillator that measures the strength of a security by comparing its average gains to its average losses over a certain period of time. The RSI ranges from 0 to 100, and a security is considered oversold when the RSI falls below 30 and overbought when the RSI rises above 70. Traders use the RSI to identify potential buy and sell signals when a security becomes oversold or overbought.<br /><br />👉 6. Moving Average Convergence Divergence (MACD): The MACD is a trend-following momentum indicator that shows the relationship between two moving averages of a security's price. The MACD is calculated by subtracting the 26-period exponential moving average (EMA) from the 12-period EMA. Traders use the MACD to identify potential buy and sell signals when the MACD line crosses above or below the signal line.<br /><br />👉 7. Mean Reversion Trading Strategies: Mean reversion trading strategies involve buying or selling a security when its price moves away from its mean, with the expectation that the price will eventually return to its mean. One example of a mean reversion trading strategy is pairs trading, where a trader identifies two securities that are highly correlated and buys the underperforming security while simultaneously selling the overperforming security. The trader then waits for the prices to converge before closing the positions.<br /><br />👉 8. Statistical Arbitrage: Statistical arbitrage is a mean reversion strategy that involves identifying securities that are mispriced based on their historical relationships. Traders use statistical models to identify these mispricings and then buy the underpriced security while simultaneously selling the overpriced security. The trader then waits for the prices to converge before closing the positions.<br /><br /><div align="center"><a href='https://stocksharp.com/file/142843/mean-reversion-trading_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/142843/mean-reversion-trading_png/?size=500x500" alt="mean-reversion-trading.png" title="mean-reversion-trading.png" /></a></div><br /><br />💥These are just a few examples of the techniques used in mean reversion trading. The success of the strategy depends on the trader's ability to identify assets that are likely to revert to their mean values and to enter and exit trades at the appropriate times.https://stocksharp.com/topic/24247/Let’s understanding the words Overbought, Oversold, Convergence and Divergence for basic indicator readings. 2022-12-24T18:42:34Z2023-04-18T12:21:39ZPannipahttps://stocksharp.com/users/164332/info@stocksharp.com<br /><div align="center"><a href='https://stocksharp.com/file/136185/screenshot_19-3_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/136185/screenshot_19-3_jpg/?size=500x500" alt="Screenshot_19-3.jpg" title="Screenshot_19-3.jpg" /></a></div><br /><br />💥Technical analysis has introduced various statistical and mathematical techniques to apply in analyzing stocks, which have become indicators of stock prices in many forms. In this text, we will discuss some of them, but those interested in other indices can read more as most of them use similar concepts.<br /><br />💥In the use of technical tools to analyze stocks, oscillators are the commonly used instruments that measure oscillation. Among them are RSI and Stochastic, which can serve as indicators of the market direction in the short to medium term, especially during times when the market moves without direction, also known as sideways or fluctuations within a narrow band. During these times, oscillators can closely follow prices, enabling traders to use them as tools for buying or selling in the short term. Even in market conditions that are not clearly uptrending or downtrending, oscillators can help determine if the trend will continue to strengthen or weaken.<br /><br />👉Introduction to Overbought, Oversold, Convergence, and Divergence👈<br /><br />💥Most indicators are derivatives that measure changes in stock prices. A simple analogy is to compare the price to the speed of a car and the indicators to the car's acceleration when we press the accelerator or decelerate when we press the brakes. Acceleration increases the speed of the car, and we see the acceleration and top speed rise simultaneously.<br /><br />💥When we release the accelerator, the car continues moving due to inertia, but the acceleration is zero. When we gently tap the brake, the car still moves forward, but the braking force gradually slows it down, and the acceleration becomes negative. In this case, the acceleration and velocity of the car move in opposite directions because the car continues to move forward, but with negative acceleration (becoming a deceleration).<br /><br />💥Similarly, in the stock market, we may see that the price is still rising, but the market lacks momentum (which is like acceleration), and this is called overbought. This happens when traders have bought stocks to the point where almost everyone is holding stocks, but fewer people want to buy them. During a market crash, everyone rushes to sell, causing the price to drop rapidly due to strong selling pressure. But at a certain point, the selling pressure starts to decrease, and the market becomes oversold, even though the price is still declining.<br /><br />💥Indicators are also used to measure buying or selling pressure, which determines the direction of the price. Therefore, during a market acceleration, indicators will move in the same direction as the price, which is called Convergence. But when the market starts to run out of acceleration, although the price is still running in the same direction, some indicators will start to move in a different direction from the price, which is what we call Divergence. This serves as a warning signal that the market is starting to run out of steam, and traders need to be careful as the direction may soon reverse (Reversal) since there is no other support to keep the market going.<br /><br />💥Some traders are very quick and apply other technical principles to the indicator, such as using trendline charting techniques or finding the Moving Average of the indicator as a trading signal, which can give good signals. However, the best approach is to gradually start buying or selling little by little when there is a signal, using other technical tools with the indicator, and gradually buying or selling until the actual signal is confirmed. Some traders overreact to small indicator movements and buy or sell, which is not recommended.<br /><br />💥General rules for reading indicators include that if the indicator reaches the upper or lower band, known as Overbought and Oversold, it indicates that the stock is overbought or oversold. If the indicator and the price move in different directions, this is usually a warning that a reversal may follow, and an important signal will be generated when the oscillator is in the OB/OS zone. For some indicators, crossing the zero line is a signal to buy or sell according to the trend.<br /><br />💥Overbought and Oversold refer to indicators used to determine periods when market prices are too high or too low. When the indicator reaches the overbought level, it means that the asset is overbought and the price may start to fall. When the indicator reaches the oversold level, it means that the asset is oversold and the price may start to rise. Traders use these signals to make buying or selling decisions.<br /><br />💥Overbought and oversold refer to the levels at which an asset's price has moved too far in a particular direction, either upward or downward. Overbought conditions occur when an asset's price has increased too quickly and too far, and may be due for a pullback or correction. Oversold conditions occur when an asset's price has decreased too quickly and too far, and may be due for a rebound or rally.<br /><br />💥💥Traders can use various technical indicators, such as the Relative Strength Index (RSI) or Stochastic Oscillator, to identify overbought and oversold conditions. In general, when an asset is considered overbought, traders may consider selling or taking profits. When an asset is considered oversold, traders may consider buying or taking a long position.<br /><br />💥Convergence and Divergence refer to indicators used to determine trend changes. When the convergence indicator starts moving towards the X-axis, it means that the trend is starting to change and a buy can be expected. When the divergence indicator starts moving towards the X-axis, it means that the trend is continuing and a sell can be expected.<br /><br />💥Convergence and divergence are terms used to describe the relationship between an asset's price and a technical indicator. Convergence occurs when the asset's price and the indicator are moving in the same direction, indicating a strong trend. Divergence occurs when the asset's price and the indicator are moving in opposite directions, indicating a potential reversal in trend.<br /><br />💥💥Traders can use convergence and divergence to identify potential buy and sell signals. In an uptrend, traders may look for bullish convergence, where the indicator is rising while the price is also rising, indicating a strong trend. In a downtrend, traders may look for bearish convergence, where the indicator is falling while the price is also falling, indicating a strong trend. Conversely, traders may look for bullish divergence in a downtrend or bearish divergence in an uptrend, as these may signal a potential reversal in trend.<br /><br />💥Traders should use these indicators in combination with other tools and analyze data from multiple sources to obtain the most accurate buy and sell signals.https://stocksharp.com/topic/10707/S#.Designer syllabus.2019-05-16T23:12:23Z2023-04-17T20:24:31ZMarathttps://stocksharp.com/users/101940/info@stocksharp.comAll video-lessons are available via the links below.<br />All samples for lessons can be installed via S#.Installer.<br />For Basic course you need the packet: <a href="https://stocksharp.com/store/lessons-designer-basic/" title="Edu Designer Basic">Edu Designer Basic</a><br />For Advanced course you need the packet: <a href="https://stocksharp.com/store/lessons-designer-advanced/" title="Edu Designer Advanced">Edu Designer Advanced</a><br /><h3><div align="center">Basic course.</div></h3><br /><br /><b><a href="https://stocksharp.com/forum/15269/sdesigner-basics-/" title="https://stocksharp.com/forum/15269/sdesigner-basics-/">1. S#.Designer basics </a></b><br />The lesson covers:<br />- Installing the program<br />- Configuring the interface of the program windows<br />- Examines the main sections of the Program menu<br />- Examines the sections of the strategy tree<br />- Shows how to download instruments and market data for the first time<br />- Shows how to start testing a strategy on the built-in SMA strategy.<br /><br />(The new version of the designer, like all programs, is installed through the Installer program.<br />The fifth version of the designer lacks the ability to select the themes of the designer, which was present in the fourth version) <br /><br /><b><a href="https://stocksharp.com/forum/15270/2-visual-editor-and-strategy-designer-blocks---1/" title="https://stocksharp.com/forum/15270/2-visual-editor-and-strategy-designer-blocks---1/">2. Visual editor and strategy designer blocks - 1.</a></b><br /><br />The lesson covers:<br />- General description of strategy cubes<br />- Examines the sections of the strategy cubes menu<br />- Examines the cube chart panel<br />- Examines the construction of candlestick charts<br />- Examines the construction of charts of the SMA and Bollinger indicator in the same window and in different windows<br /><br />(In the fifth version of the program, the location of some cubes in the menu has changed.<br />In the fifth version, the mathematics section is replaced by a formula cube.) <br /><br /><b><a href="https://stocksharp.com/forum/15271/3-visual-editor-and-strategy-designer-blocks---2/" title="https://stocksharp.com/forum/15271/3-visual-editor-and-strategy-designer-blocks---2/">3. Visual editor and strategy designer blocks - 2.</a></b><br /><br />The lesson covers:<br />- Description of the cube Variable and examines examples of the use of the cube<br />- Examines the Logic cube and an example of its application<br />- Examines the Previous value cube and an example of its application<br />- Examines the Mathematics section and the use of cubes that are included in it<br />- Examines the Converters section (cubes "Indexer" and "Converter") and an example of sharing the cubes of the section<br />- Considers the cube "Opening a position"<br />- Considers the cube "Position" and the scheme in which it is applied<br />- Considers the cube "Comparison" and an example of its application<br />- Considered building a simple strategy:<br /><em>If the closing price of the previous candle is less than the closing price of the current one, then we buy, if not, we sell.</em><br />- Considers the "Comparison" cube and an example of its application<br /><br />(In the fifth version, the mathematics section is replaced by one formula cube. In the fifth version of the program, the "Position opening" cube is replaced with "Position registration") <br /><br /><b><a href="https://stocksharp.com/forum/15273/4-work-with-the-strategy-scheme/" title="https://stocksharp.com/forum/15273/4-work-with-the-strategy-scheme/">4. Work with the strategy scheme.</a></b><br /><br />The lesson covers:<br />- Debugger tools<br />- Working with breakpoints is considered on the example of a circuit<br />- On an example, the possibility of imposing additional conditions on triggering a breakpoints is considered<br /><br /><b><a href="https://stocksharp.com/forum/15274/5-visual-editor-and-strategy-designer-blocks---3/" title="https://stocksharp.com/forum/15274/5-visual-editor-and-strategy-designer-blocks---3/">5. Visual editor and strategy designer blocks - 3.</a></b><br /><br />The lesson covers:<br />- Considers the cube "Position protection"<br />- A strategy is built using the "Position protection" cube:<br /><em>If the difference between the closing price and the opening price of the candle is greater than 1, then we buy.<br />We sell position protection through the cube, provided that:<br />Take Profit - the price increases by 2%<br />Stop Loss - the price decreases by 3%</em><br />- An example of constructing the conditions for triggering transactions has been analyzed, in which Buy and Sell transactions go sequentially one after the other (the simplest flag)<br />- A scheme has been built for obtaining the absolute value of a position and doubling its value<br />- Using the example of the scheme from lesson three and the scheme for obtaining the absolute value of the position, the following scheme is obtained:<br /><em>If the closing price of the previous candle is less than the closing price of the current one, then we buy, if, on the contrary, we sell.<br />If the position is not equal to zero, then the trade is carried out with a double volume </em><br /><br /><b><a href="https://stocksharp.com/forum/15275/6-visual-editor-and-strategy-designer-blocks---4/" title="https://stocksharp.com/forum/15275/6-visual-editor-and-strategy-designer-blocks---4/">6. Visual editor and strategy designer blocks - 4.</a><br /></b><br />The lesson covers:<br />- Examines the cubes of the "Mathematics" section - formulas, including examples of their use<br />- Considered the construction of the scheme:<br /><em>If the closing price of the previous candle is greater than the value of the SMA indicator for 20 periods plus 3 standard deviations for 20 periods, then we sell by candle open price.<br />If the closing price of the previous candle is less than the value of the SMA indicator for 20 periods minus 3 standard deviations for 20 periods, then we make a buy at the opening price of the candle.<br /></em><br />(In the fifth version of the program there is no section "Mathematics", all the cubes of this section used in earlier versions of the program are replaced by one cube formula.<br />In the fifth version of the program, the cube "Position opening" is replaced by the cube "Order registration".) <br /><br /><b><a href="https://stocksharp.com/forum/15276/7-more-strategies/" title="https://stocksharp.com/forum/15276/7-more-strategies/">7. More strategies.</a></b><br /><br />The lesson covers:<br />- The construction of a diagram based on the Bollinger indicator is considered:<br /><em>If the candlestick crosses the upper curve of the Bollinger indicator, then we buy.<br />If the candlestick crosses the lower curve of the Bollinger indicator then we sell.</em><br /><br />- Considered the construction of the scheme based on the MACD indicator:<br /><em>If the MACD curve changes its sign from minus to plus, then buy.<br />If the MACD curve changes its sign from plus to minus, then we sell.</em><br /><br />- Considered a visual comparison of the results of two strategies<br />- Considered exporting test results to a file for subsequent analysis <br /><br /><b><a href="https://stocksharp.com/forum/15277/8-visual-editor-and-strategy-designer-blocks---5/" title="https://stocksharp.com/forum/15277/8-visual-editor-and-strategy-designer-blocks---5/">8. Visual editor and strategy designer blocks - 5.</a></b><br /><br />The lesson covers:<br />- The construction of a scheme using candles of different TFs is considered:<br /><em>First branch: The strategy will buy if the closing price of a five-minute candle is greater than the maximum of 20 previous days.<br />The strategy will sell if the closing price of the 5 minute candle is less than the previous 10 day low.<br /><br />The second branch: The strategy will sell if the closing price of the five-minute candle is less than the minimum of the previous 20 days.<br />The strategy will buy if the closing price of the five-minute candle is greater than the high of the previous 10 days.</em><br /><br />(In the fifth version of the designer, the appearance of the flag cube was changed. Also, in the fifth version of the designer, the strategy was changed in terms of the appearance of 2 sell cubes and 2 buy cubes, due to a different principle of receiving a signal to the trigger.) <br /><br /><b><a href="https://stocksharp.com/forum/15278/9-time-cubes/" title="https://stocksharp.com/forum/15278/9-time-cubes/">9. Time Cubes.</a></b><br /><br />The lesson covers:<br />- Considered the "Working time" cube<br />- Considered the "Variable" cube with the "Strategy" value<br />- Considered the "Converter" cube with the function of getting time<br />- Considered the strategy of working with the "Working time" cube with the condition:<br /><em>Strategy buys a minute before the end working time.</em><br />- Considered an example of working with the "Working hours" cube: <br /><em>The strategy buys at 18.00.</em><br />- Considered a 7th lesson strategy with additional conditions: <br /><em>The strategy closes a position 5 minutes before the end of working hours.</em><br /><br />(In the fifth version of the designer, for correct work with the formula that calculates the time and the cube "Working time", after importing the strategies, it is recommended to recreate them) <br /><br /><b><a href="https://stocksharp.com/forum/15279/10-working-with-market-data-sdata-(hydra)/" title="https://stocksharp.com/forum/15279/10-working-with-market-data-sdata-(hydra)/">10. Working with market data. S#.Data (Hydra)</a></b><br /><br />The lesson covers:<br />- Considered examples of choosing a market data store<br />- Considered an example of working with the S#.Data (Hydra) program<br />- Considered a server mode of working with S#.Data (Hydra) program<br />- Considered an example of using a market data transmitted through a server mode<br /><br />(In the fifth server-mode version does not contain WCF mode.) <br /><br /><b><a href="https://stocksharp.com/forum/15280/11-backtest-and-optimization/" title="https://stocksharp.com/forum/15280/11-backtest-and-optimization/">11. Backtest and optimization.</a></b><br /><br />The lesson covers:<br />- Considered the basics of strategy optimization<br />- Considered strategy optimization based on changing the indicator parameter used in the strategy<br />- Considered the principle of portfolio optimization of a strategy on various instruments <br /><br /><b><a href="https://stocksharp.com/forum/15281/12-live-trading/" title="https://stocksharp.com/forum/15281/12-live-trading/">12. Live trading.</a></b><br /><br />The lesson covers:<br />-Example of setting up a strategy for connecting to Live mode <br /><br /><h3><div align="center">Advanced course.</div></h3><br /><br /><b><a href="https://stocksharp.com/forum/15310/13-composite-cubes/" title="https://stocksharp.com/forum/15310/13-composite-cubes/">13. Composite Cubes.</a></b><br /><br />The lesson covers:<br />- Considered the "Union" cube<br />- Considered the principle of working with a compound cube using the example of creating a cube for closing a position<br />- Considered an example of introducing a compound cube "Closing a position" into an existing strategy from lesson 9 <br /><br /><b><a href="https://stocksharp.com/forum/15311/14-creating-candles-from-ticks/" title="https://stocksharp.com/forum/15311/14-creating-candles-from-ticks/">14. Creating candles from ticks.</a></b><br /><br />The lesson covers:<br />- Considered how to download ticks in the program<br />- Considered how to build candles from the "Depth of Market"<br />- Considered the modes "Build", "Downloads", "Load and build" candles<br />- Considered an example of building volume candles<br />- Considered an example of plotting a Range of candles<br />- Considered construction of candles from Ticks<br />- Considered the construction of candles from candles of a smaller TF<br />- Considered the use of candles built in the S#.Data (Hydra)<br />- Considered building a volume profile <br /><br /><b><a href="https://stocksharp.com/forum/15312/15-building-the-flag-component-cube/" title="https://stocksharp.com/forum/15312/15-building-the-flag-component-cube/">15. Building the Flag component cube</a></b><br /><br /><b><a href="https://stocksharp.com/forum/15313/16-strategy-based-on-finding-the-price-of-the-maximum-volume/" title="https://stocksharp.com/forum/15313/16-strategy-based-on-finding-the-price-of-the-maximum-volume/">16. Strategy based on finding the price of the maximum volume.</a></b><br /><br />The lesson covers:<br />- Considered the function of the "Converter" cube. Maximum volume<br />- A strategy has been built in which candlestick data is built from ticks, with the following conditions: <br /><em>The strategy buys if the closing price is higher than the opening price of the candle.<br />The strategy sells at the sixth candlestick.</em><br /><br />(In the fifth version, the Flag cube was changed, as well as the condition for raising the flag. In the fifth version, the formula block cubes were replaced with the formula cube.)<br /><br /><b><a href="https://stocksharp.com/forum/15314/17-indices-and-multiple-security-strategies---1/" title="https://stocksharp.com/forum/15314/17-indices-and-multiple-security-strategies---1/">17. Indices and multiple security strategies - 1.</a></b><br /><br />The lesson covers:<br />- Considered working with stock indices<br />- Considered working with futures on the example of a strategy with conditions:<br /><em>If the index calculated by the SBER @ TQBR / SRM9 @ FORTS formula is less than the average value for 10 periods, then Sberbank shares are sold.<br />If the index calculated by the SBER @ TQBR / SRM9 @ FORTS formula is greater than the average value for 10 periods, then we buy Sberbank shares.</em><br />- The function of constructing a continuous futures is considered<br />- A strategy with a continuous futures is built with the condition:<br /><em>If the current value of the SBER @ TQBR / SBER_СF @ FORTS index is 0.005 units above the average, sell the instrument Sberbank Shares and buy the instrument of Sberbank shares.<br />If the current value of the SBER @ TQBR / SBER_СF @ FORTS index is 0.005 units lower than the average, buy the Sberbank Shares instrument and sell the Sberbank shares instrument.</em><br />- Based on the strategy, an example of building a scheme with cancellation of an order is considered <br /><br /><b><a href="https://stocksharp.com/forum/15315/18-indices-and-multiple-security-strategies---2/" title="https://stocksharp.com/forum/15315/18-indices-and-multiple-security-strategies---2/">18. Indices and multiple security strategies - 2.</a></b><br /><br />The lesson covers:<br />- Considered a pair trading strategy based on the previous strategy.<br /><em>If the index calculated by the SBER @ TQBR / GAZP @ TQBR formula grows, then we buy a cheaper asset and sell a more expensive one.<br />If the index calculated using the SBER @ TQBR / GAZP @ TQBR formula decreases, then we buy a more expensive asset and sell a cheaper one.</em><br />- Considered the round operator - to get an integer value<br /><br /><b><a href="https://stocksharp.com/forum/15316/19-indices-and-multiple-security-strategies---3/" title="https://stocksharp.com/forum/15316/19-indices-and-multiple-security-strategies---3/">19. Indices and multiple security strategies - 3.</a></b><br /><br />Lesson highlights:<br />- Considered a pyramiding strategy based on the previous strategy from the previous lesson. <br /><br /><b><a href="https://stocksharp.com/forum/15317/20-working-with-the-editor-of-the-program-code-1/" title="https://stocksharp.com/forum/15317/20-working-with-the-editor-of-the-program-code-1/">20. Working with the editor of the program code-1.</a></b><br /><br />The lesson covers:<br />- Considered the "Source Code" cube<br />- Considered the principle of creating a cube with a code<br />- Considered the principle of creating your own unique cube with a code<br /><br />(Today the StockSharp website does not have a direct link to Github, so you need to go to it not through the website)<br /><br /><b><a href="https://stocksharp.com/forum/15318/21-work-with-the-program-code-editor---2/" title="https://stocksharp.com/forum/15318/21-work-with-the-program-code-editor---2/">21. Work with the program code editor - 2.</a></b><br /><br />The lesson covers:<br />- Considered the creation of cubes on C# in Visual Studio<br />- Considered the DLL cube<br />- Considered the principle of working with S#.API libraries in Visual Studio <br /><br /><b><a href="https://stocksharp.com/forum/15319/22-export-and-import-of-strategies-in-the-program/" title="https://stocksharp.com/forum/15319/22-export-and-import-of-strategies-in-the-program/">22. Export and import of strategies in the program.</a></b><br /><br /><a href="https://stocksharp.com/edu/" title="https://stocksharp.com/edu/"><span style="font-size:140%">You can buy any course right now from our site</span></a>https://stocksharp.com/topic/24028/Different candles - one program!2022-09-09T08:05:16Z2022-09-09T08:05:16ZMarathttps://stocksharp.com/users/101940/info@stocksharp.comCandlesticks in stock trading are a constant and necessary attribute.<br />Today there are no traders who do not turn to candlestick charts and do not track market changes based on it.<br />The history of the "candle" display of market behavior is rooted in the past, in Japan of the 18th century, when a sequence of "candles" began to visually depict the price maximum and minimum for a certain period, as well as prices at the beginning and end of this period.<br />It makes no sense to describe the composition of the candle, since any trader knows these basics.<br />Speaking <b><span style="font-size:120%">in the context of analysis, candlesticks are the basis of all fundamentals</span></b>, <b>an experienced trader</b> can only <b> look at the chart to determine the changing situation</b>.<br />Sometimes <b> a trader does not just determine the situation on the market, but is also able to predict changes </b>, since the market tends, under similar conditions, to react equally to "stimuli".<br />As I wrote earlier, <em>the abundance of trading tools only provide an opportunity to make deals, turning trading into an exclusively intuitive and speculative action.</em><br /><b>Serious, not mass trading, requires a systematic approach</b>, that is, you can't just take a terminal and start trading, initially <b>you need to have knowledge </b>.<br />This knowledge is based not only on the practical part - trading, but also includes a deep analysis of the market, its behavior on certain events.<br />Such reflections are clearly demonstrated by candles.<br />For most users, candles are the maximum and minimum for the period, but the variety of candles can surprise.<br /><b><span style="font-size:120%"><span style="color:green">Each type of candle has its own meaning for the trader, and is able to provide him with a full amount of information on the desired asset or group of assets.</span></span></b><br />So, various candlesticks may be needed for analysis, but it is quite problematic to get market data for them.<br /><b>Most programs and resources for downloading market data do not provide </b> such <b>information </b>, and those that can provide <b> do not allow you to get data on several types of candles at once </b>.<br />The second <b> problem is the need to convert data into the desired format for graphical representation of candlesticks and "visual" analysis</b>.<br />Do not forget about the cost of such programs, which are rarely even "shareware".<br />As mentioned earlier, <a href="https://stocksharp.com/store/hydra/" title="https://stocksharp.com/store/hydra/"><b>S#.Data</b></a> solves these problems.<br />It <b> allows </b> not just <b>to build candlesticks of various types</b>, but also <b> to save them</b>, which is not a little important <b> for further use</b>.<br />Almost all sources do not directly broadcast market data on such candles, respectively, the problem for most programs becomes unsolvable, but <b>S#.Data</b> solves it by constructing such unique candles through other downloaded market data. <b>For example from Ticks.</b><br /><br /><a href='https://stocksharp.com/file/135134/ticks_market_data_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/135134/ticks_market_data_png/?size=500x500" alt="ticks_market_data.png" title="ticks_market_data.png" /></a><br /><br />- For example, <b><span style="font-size:120%">Volume Candlesticks</span></b>, which <b><em> display the volume of transactions for the selected period, and provide information about the activity of the instrument.</em></b><br /><br /><a href='https://stocksharp.com/file/135135/volume_market_data_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/135135/volume_market_data_png/?size=500x500" alt="volume_market_data.png" title="volume_market_data.png" /></a><br /><br />And it is just as easy to plot their schedule<br /><br /><a href='https://stocksharp.com/file/135139/volume_candles_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/135139/volume_candles_png/?size=500x500" alt="volume_candles.png" title="volume_candles.png" /></a><br /><br />- The program allows you to get <b><span style="font-size:120%">Renko</span></b> candles. <b><em>The ranko chart clearly defines the main trend</em></b>. Such a chart is useful in order to determine the key support and resistance levels, since it averages the main trend, small price fluctuations are not reflected, this allows you to focus on really significant movements.<br /><br /><a href='https://stocksharp.com/file/135137/renko_market_data_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/135137/renko_market_data_png/?size=500x500" alt="renko_market_data.png" title="renko_market_data.png" /></a><br /><br />Also, after receiving the market data, we build a graph.<br /><br /><a href='https://stocksharp.com/file/135138/renko_candles_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/135138/renko_candles_png/?size=500x500" alt="renko_candles.png" title="renko_candles.png" /></a><br /><br />- Equally important candles - <b><span style="font-size:120%">Range</span></b> candles. <em><b>The peculiarity of this chart is that new candles are built depending not on the timeframe, but on the range that the price has passed </b></em>. Accordingly, it is more convenient for the user to track price fluctuations.<br /><br /><a href='https://stocksharp.com/file/135144/range_market_data_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/135144/range_market_data_png/?size=500x500" alt="range_market_data.png" title="range_market_data.png" /></a><br /><br />And we also build a schedule.<br /><br /><a href='https://stocksharp.com/file/135136/range_candles_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/135136/range_candles_png/?size=500x500" alt="range_candles.png" title="range_candles.png" /></a><br /><br />- In addition to the candlesticks listed above, which are quite familiar to traders and their charts, <span style="font-size:120%"><b>Hydra </b></span> allows you to get unique, but necessary data in the analysis.<br /><br />So for example <b><span style="font-size:120%">PnF</span></b> candles (<b><em>tic-tac-toe</em></b>)<br /><br /><a href='https://stocksharp.com/file/135142/pnf_market_data_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/135142/pnf_market_data_png/?size=500x500" alt="PnF_market_data.png" title="PnF_market_data.png" /></a><br /><br /><a href='https://stocksharp.com/file/135140/pnf_candles_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/135140/pnf_candles_png/?size=500x500" alt="PnF_candles.png" title="PnF_candles.png" /></a><br /><br />Or candlesticks <b><span style="font-size:120%">Heiken Ashi Candles</span></b>, used to track the market trend.<br /><br /><a href='https://stocksharp.com/file/135143/heikinashi_market_data_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/135143/heikinashi_market_data_png/?size=500x500" alt="HeikinAshi_market_data.png" title="HeikinAshi_market_data.png" /></a><br /><br /><a href='https://stocksharp.com/file/135141/heikinashi_candles_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/135141/heikinashi_candles_png/?size=500x500" alt="HeikinAshi_candles.png" title="HeikinAshi_candles.png" /></a><br /><br /><br />So <b><em><span style="color:green">S#.Data allows you not only to get ready-made market data, but also to build such data, the receipt of which is not possible</span></em></b>. Moreover, it allows you to immediately build charts, combining all the stages for market analysis, reducing the financial and time costs of the trader.<br /><br />That's it. See you in new articles.https://stocksharp.com/topic/16210/Changing the conditions for receiving updates2021-11-17T10:36:36Z2021-11-17T11:44:39ZMarathttps://stocksharp.com/users/101940/info@stocksharp.comFrom <span style="font-size:120%"><b>November 30, 2021</b></span> the StockSharp project <b><span style="font-size:120%"><span style="color:red">changes the order in which new versions of all paid products are received.</span></span></b><br /><br />What does this mean for you?<br /><br />If you purchased our any <a href="https://stocksharp.com/products/pricing/" title="https://stocksharp.com/products/pricing/">connector</a> <span style="font-size:120%"><b>until November 30, 2020</b></span>, then in order for <b><span style="font-size:120%"> to receive its updates</span></b> after this date <b><span style="font-size:120%">, you will need to renew your subscription</span></b>.<br /><br />If you purchased <a href="https://stocksharp.com/products/pricing/" title="https://stocksharp.com/products/pricing/">connector</a> <span style="font-size:120%"><b>after November 30, 2020</b></span>, then you <span style="font-size:120%"><b> will continue to receive updates until the expiration of the year</b></span> from the date of purchase. After this date, you will also need <span style="font-size:120%"><b> to renew your subscription</b></span>.<br /><br /><b>Subscription renewal</b> is carried out at a special price <span style="font-size:140%"><b><span style="color:green"> with a discount of 50%</span></b></span> from the base cost of the paid product. <b>Discounted renewal is available </b> at any time <b>prior to the expiration of </b> subscription and within <b>15 days</b> from its expiration date.<br /><br />You can opt out of updates and use the version of the connector that you have, your license will continue to be valid.<br />However, if you again <b> want to receive updates </b> and at the same time <b>miss the grace period </b>, then after this date, then <b>the extension is carried out without discounts </b> at the base cost of the product.https://stocksharp.com/topic/16139/We are discontinuing support for connectors!2021-10-04T09:31:56Z2021-10-12T07:42:45ZMarathttps://stocksharp.com/users/101940/info@stocksharp.com<a href='https://stocksharp.com/file/127222/important_information_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/127222/important_information_png/?size=500x500" alt="important_information.png" title="important_information.png" /></a><br /><br /><b><span style="font-size:120%">Good afternoon!</span></b><br /><br /><br />Friends, from <b>31/10/2021</b>, we plan to <b><span style="font-size:120%"><span style="color:red">stop supporting</span></span></b> a lot of unused <b><span style="font-size:120%"><span style="color:red">connectors</span></span></b>.<br />Today we are asking you which <b><span style="font-size:120%"><a href="https://stocksharp.com/products/pricing/" title="https://stocksharp.com/products/pricing/">connectors</a> you use</span></b>, and which connectors of them you <b><span style="font-size:120%">would like to keep</span></b>!<br />Leave your comments, share your opinion.<br /><b>Now you can help us make a choice.</b>https://stocksharp.com/topic/14808/No commissions! 2020-12-08T12:46:25Z2020-12-08T12:46:25ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.comDear friends, <br /><br />Holidays are coming and we delightful to inform you that good news from StockSharp are coming too! <br /><br /><a href='https://stocksharp.com/file/117463/no-commisions-freelance-service_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/117463/no-commisions-freelance-service_jpg/?size=500x500" alt="no-commisions-freelance-service.jpg" title="no-commisions-freelance-service.jpg" /></a><br /><br />As you know with newly launched support service <a href="https://stocksharp.com/freelance/" title="https://stocksharp.com/freelance/"><b><h2><em><u>Freelance</u></em></h2></b></a> you <b>can get help or advice from our big StockSharp trading community anytime</b>! Whether you want to create or sell your trading robot or anything created by yourself, don't hesitate to share your thoughts and opinions with us! <br /><br /><span style="color:red"><span style="font-size:140%"><b>But that's not all! We eliminated all fees for the <a href="https://stocksharp.com/freelance/" title="https://stocksharp.com/freelance/"><b><em><u>Freelance service</u></em></b></a> and it is absolutely for everyone!</b></span></span><br /><br />Stay safe and enjoy our service! <br />https://stocksharp.com/topic/14749/Website maintenance2020-11-27T11:51:58Z2020-11-27T11:51:58ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.com<b>Dear users,</b><br /><br /><a href='https://stocksharp.com/file/117217/stocksharp-website-mainteance_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/117217/stocksharp-website-mainteance_jpg/?size=500x500" alt="stocksharp-website-mainteance.jpg" title="stocksharp-website-mainteance.jpg" /></a><br /><br />Attention please. The website will be down for maintenance over the weekend<br /><br /><span style="color:red"><span style="font-size:140%">Dear users, our website will be unavailable over the weekend due to technical reasons.</span></span><br /><br />We sincerely apologize for any inconveniences caused!<br />https://stocksharp.com/topic/14738/Attention! .NET FRAMEWORK 4.8 won’t be supported!2020-11-24T12:35:44Z2020-11-24T12:35:44ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.comDear friends please pay attention that, <br /><br /><a href='https://stocksharp.com/file/117187/framework-algo-trading-news_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/117187/framework-algo-trading-news_png/?size=500x500" alt="framework-algo-trading-news.png" title="framework-algo-trading-news.png" /></a><br /><br />currently we support two platforms .NET FRAMEWORK 4.8 и .NET CORE 3.1, however <span style="color:red"><span style="font-size:140%">by the end of this year we will migrate to .NET 5 (the line of .NET CORE)!<br /></span></span><br />Please be aware that .NET FW <b><h2>will no longer be supported</h2></b>, to get all necessary updates, kindly move all you code to .NET.CORE!<br /><br />Have a nice day! <br />https://stocksharp.com/topic/14714/StockSharp online store!2020-11-19T12:47:28Z2020-11-19T16:23:10ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.com<h2><span style="color:red">Good news everyone!</span></h2><br /><br /><a href='https://stocksharp.com/file/116904/algo-trading-online-store_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/116904/algo-trading-online-store_jpg/?size=500x500" alt="algo-trading-online-store.jpg" title="algo-trading-online-store.jpg" /></a><br /><br />Welcome to our new online store! We've just opened a new online store which located in trading <a href="https://stocksharp.com/robot/" title="https://stocksharp.com/robot/">robot section</a> and warmly welcome you!<br /><br /><h2><b>From now on every of you can order any of our products and moreover you can publish and sell your products through our website, dear client! </b></h2><br /><br />Contact to our email <a href="mailto:info@stocksharp.com">info@stocksharp.com</a>, we will reply your questions and will provide assistant with your products.<br />https://stocksharp.com/topic/14666/S# tech support works!2020-11-05T14:41:23Z2020-11-06T19:14:16ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.com<a href='https://stocksharp.com/file/116719/customer-support-service_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/116719/customer-support-service_jpg/?size=500x500" alt="customer-support-service.jpg" title="customer-support-service.jpg" /></a><br /><br />Dear friends,<br /><br />Last week, we announced our new service <a href="https://stocksharp.com/freelance/" title="https://stocksharp.com/freelance/"><b>S#.Freelance</b></a>. We apologize about the mistake we done in publishing that and some of you decided that S#.Freelance may fully replace our technical customer support service.<br /><br /><b>We want you to rest assured that S# customer service support works as before and we are here to help our clients!</b><br /><br />Terms and conditions available <a href="https://stocksharp.com/freelance/" title="https://stocksharp.com/freelance/">here</a>. <br /><br />Enjoy our services!<br /><br /><br />https://stocksharp.com/topic/14627/Our new tech support service S#.Freelance!2020-10-29T14:42:45Z2020-10-29T14:42:45ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.comDear friends,<br /><br /><b><em><h2>The great news is coming!</h2></em></b><br /><br /><a href='https://stocksharp.com/file/116649/algo-trading-news_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/116649/algo-trading-news_jpg/?size=500x500" alt="algo-trading-news.jpg" title="algo-trading-news.jpg" /></a> <br /><br />We are very pleased to announce that after months of hard work and dedication we launch <b><em>a new service</em></b> <a href="https://stocksharp.com/support/" title="https://stocksharp.com/support/">S#.Freelance</a>. <br /><br />By organically growing a strong trading <a href="https://stocksharp.com/community/" title="https://stocksharp.com/community/">community</a>, we receive more and more questions about our <a href="https://stocksharp.com/products/" title="https://stocksharp.com/products/">products</a>, <a href="https://stocksharp.com/support/" title="https://stocksharp.com/support/">S#.Freelance</a> <b><h2>is developed to make your life as a trader easier to find all necessary solutions and solve required tasks!</h2></b><br /><span style="color:red"><span style="font-size:140%">You can either be a freelancer to helping others or hire someone to get your projects done.</span></span><br /><br />The <b><em><u>S#</u></em></b> still constantly in touch with our community members on all critical issues and guarantees you a full transparency in receiving required services and making payments. <br /><br />We wish you a pleasant experience!<br />https://stocksharp.com/topic/14516/Update in a new way S#.Shell and course materials!2020-09-28T12:17:38Z2020-09-28T12:17:38ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.com<b><h2>Good day friends! </h2></b><br /><br /><b><em><span style="color:red">We have important news for you!</span> </em></b><br /><br /><a href='https://stocksharp.com/file/116412/algo-trading-news_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/116412/algo-trading-news_jpg/?size=500x500" alt="algo-trading-news.jpg" title="algo-trading-news.jpg" /></a><br /><br />Recently we’ve released our application <a href="https://stocksharp.com/products/download/" title="https://stocksharp.com/products/download/"><b>S#.Installer</b></a> what is a head center for all of our products!<br />According to this, we would like to announce that <b>all of you who study or studied in our</b> <a href="https://stocksharp.com/edu/" title="https://stocksharp.com/edu/"><b>courses</b></a>: <br /><br /><h2><span style="color:red">Archives with examples and S#.Shell program will be updated automatically by S#.Installer!</span></h2><br /><br />The old method is <br /><h2><b>not longer working</b></h2><br /><b>S# .Installer</b> will also be used for <a href="https://stocksharp.com/articles/12374/Assign-install-and-work-with-SInstaller/" title="https://stocksharp.com/articles/12374/Assign-install-and-work-with-SInstaller/"><b>the initial receipt and installation</b></a> products!<br /><br />Enjoy our program!<br />https://stocksharp.com/topic/12386/Principles for trading cryptocurrencies part 22020-09-08T12:39:00Z2020-09-08T12:39:00ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.comIn the previous article we’ve analysed the main tools used particularly in trading and crypto trading. We've explained such important element as a <b><u>chart</u></b>. Keep in mind that <b><em><u>charts</u></em></b> can be different, and each trader can use different <b><em><u>charts and time frames</u></em></b>. For example <a href="https://stocksharp.com/products/hydra/" title="https://stocksharp.com/products/hydra/"><b><em><u>S#.Data (Hydra)</u></em></b></a> program may build charts of various <em>trading elements and time frames</em> such as ticks, candles with various periods and volume charts. All of this give you a wide look to analyse the market, assess risks and its perspectives.[nerd]<br /><br /><a href='https://stocksharp.com/file/115973/trade-build-charts_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115973/trade-build-charts_png/?size=500x500" alt="trade-build-charts.png" title="trade-build-charts.png" /></a><br /><br />A pair may have different charts which can be distinguished by time frames. So for instance, the chart can be of 5 or fifteen minutes period. These periods named are <b><em><u>Time Frame</u></em></b>.[happy]<br /><br /><a href='https://stocksharp.com/file/115974/trading-periods-timeframe_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115974/trading-periods-timeframe_png/?size=500x500" alt="trading-periods-timeframe.png" title="trading-periods-timeframe.png" /></a><br /><br /><a href='https://stocksharp.com/file/115975/charts-timeframes_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115975/charts-timeframes_png/?size=500x500" alt="charts-timeframes.png" title="charts-timeframes.png" /></a><br /><br />Let's look at the basic elements of <b><em><u>Japanese candle</u></em></b>. The rectangles on the chart is the body of a <b><u>candle</u></b>. The body of candle is formed based on the values of beginning and the end of the chosen time frame.<br /><br /><a href='https://stocksharp.com/file/115976/charts-candle-body_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115976/charts-candle-body_png/?size=500x500" alt="charts-candle-body.png" title="charts-candle-body.png" /></a><br /><br /><b>A candlestick is a type of price chart, and its candlestick can have bullish pattern if the opening price is lower the closed price, or in the opposite direction is bear candlestick. In the <a href="https://stocksharp.com/products/hydra/" title="https://stocksharp.com/products/hydra/">S#.Data (Hydra)</a> program candles adopted green and red colour therefore we can determine the rise or fall of selected exchange tool.</b><br /><br />Also, a shadow is a line found on a candlestick chart which indicates the maximum and minimum price during the forming process. In the case of the absence of the upper shadow is considered that candle's top being cut off or the opposite is the base is cut off. [ninja]<br /><br />A <b><em><u>Doji</u></em></b> is a candlestick with no real body, where the open price is equal to the closed price. If the body of the candle is small, then it is called a <b><u>spinning top</u></b>. <a href="https://stocksharp.com/products/" title="https://stocksharp.com/products/"><b><em><u>S# programs</u></em></b></a> allows traders to read candles as much as possible. A friendly interface and advanced analyses tools make them crucial for traders because the ability to read the candles it reduces the risks, especially in crypto currency market.[wink]<br />https://stocksharp.com/topic/11998/Algo trading: What it means for Stock market?2020-07-22T13:29:32Z2020-07-22T13:29:32ZILYAhttps://stocksharp.com/users/127794/info@stocksharp.com<em>Algo Trading's gained a big popularity in both Stock and Derivatives markets. These markets let you implement all features of algotrading.</em><br /><br />It's very common nowadays to use <b>automated trading software</b> and <b>trading advisors</b> by both big corporate and private companies. In both cases the competent use of the capabilities of <b>robots</b> is a vital tool which can reduce the risk that the level of profits forecasted might not be achieved along with all possible losses. The most active <b>market maker</b> is typically a large bank or institution, some of them are HFT divisions of Deutsche Bank, Goldman Sachs, Morgan Stanley and so on.<br /><br /><a href='https://stocksharp.com/file/115195/algotrading_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115195/algotrading_jpg/?size=500x500" alt="algotrading.jpg" title="algotrading.jpg" /></a><br /><br />Let's review some types of <b>algotrading</b> which are widely used in Stock market:<br /><br /><b>- Trading systems which use technical indicators which can help to predict market performance and behaviour.<br /><br />- Trading robots that use a ratio on several tools, which have a relatively large percentage of correlation while it is not equal to 1. Tracking the deviations of these tools, the robot is selling and buying making a profit.<br /><br />- Broadly, a market maker is a trader that provides liquidity to both buy and sell products. Without market makers, there would likely be little liquidity and the system works because of market liquidity. The market maker get benefits and rewards from the trading platforms regardless the profit or loss.</b><br /><br /><a href='https://stocksharp.com/file/115196/marketmaker_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/115196/marketmaker_jpg/?size=500x500" alt="marketmaker.jpg" title="marketmaker.jpg" /></a><br /><br />With our programs, such as <a href="https://stocksharp.com/products/shell/" title="https://stocksharp.com/products/shell/">S#.Shell</a> и <a href="https://stocksharp.com/products/api/" title="https://stocksharp.com/products/api/">S#.API</a> you can create any types of trading robot. The software let your ability to create your own graphic interface to work with, and the API library can create a whole trading system. More detailed information you can find on our <a href="https://stocksharp.com/products/" title="https://stocksharp.com/products/">website</a>.<br />https://stocksharp.com/topic/11940/The connection to Binance! Video demonstration!2020-06-10T17:43:48Z2020-06-10T22:12:18ZMarathttps://stocksharp.com/users/101940/info@stocksharp.comHello everyone! We have created a video and invite you to watch it. We show how to connect to <b>Binance</b> in a couple of minutes!<br /><br /><iframe width="640" height="390" src="//www.youtube.com/embed/uX8FxT-Zrrs" frameborder="0" allowfullscreen></iframe><br /><br />You are not yet trading on<b> Binance</b> using our platform, aren't you? Then this offer is for you!!! <br /><br />Only in the next <b><span style="font-size:160%"><span style="color:red">3 days</span></span></b>, the connector to Binance is available for lifetime with a <b><span style="color:green"><span style="font-size:160%">15% discount!</span></span></b> <br /><br />Click on the <a href="https://stocksharp.com/s/dvAWFeta" title="https://stocksharp.com/s/dvAWFeta"><b><span style="font-size:160%">link</span></b></a> and the Binance connector is yours!!! <br /><br />Hurry up the offer is <b>only valid for 3 days</b>, do not miss the opportunity to start trading with profit!https://stocksharp.com/topic/11146/Interactive Brokers API-what you need to know.2019-11-07T12:22:52Z2020-05-01T16:55:25ZMarathttps://stocksharp.com/users/101940/info@stocksharp.comFor any trader who wants to <b>play big</b>, there comes a time when he needs to enter the <b>international trading markets</b> and, in particular, one of the largest markets – the <b>US market</b>. The abundance of brokers providing their services to the trader <b>is not always beneficial</b>, as various offers and conditions often put the trader at a standstill. <br />Let's look at the largest by the <b>number of transactions per trading day company</b> <em>Interactive Brokers</em>. Today, we can safely say that this company is the <b>most technologically</b> advanced company in the States in its field providing users with various types of connection to work through <em>Interactive Brokers API</em>.<br />It is <b>very important</b> that the broker <b>works not only with US citizens</b>, but also foreigners and tries to fully provide all <b>technical support to foreign users</b>. <br />A little history about <em>Interactive Brokers</em>. This broker has been <b>working in the US market</b> since the late 70s. For all the time of its work, the broker has <b>established itself</b> as a <b>reliable, advanced in information technology partner</b>. An important fact is that the broker is the <b>only one in its field</b> in the US market <b>has its own clearing company</b>. From 2010 to 2017, according to experts, <em>Barron's</em> <em>Interactive Brokers</em> was awarded the title of <b>leader among online brokers</b>. The broker is among the <b>top ten</b>, according to the resource <em><a target="_blank" rel="nofollow" href="https://stocksharp.com/away/?u=AQAAAAAAAAAjBiEr8CNU904wxFvvFUvYjWyQ8Dj0TNyc4SluzNjL_w" title="http://www.stockbrokers.com">www.stockbrokers.com</a></em>, among online brokers. To date, the <b>equity of the broke</b>r amounted to <b>more than $6 billion</b>, the <b>market value</b> ranges from <b>$16 billion</b>.<br /><br /><a href='https://stocksharp.com/file/110050/interactive-brokers-trade_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/110050/interactive-brokers-trade_jpg/?size=500x500" alt="Interactive-Brokers-trade.jpg" title="Interactive-Brokers-trade.jpg" /></a><br /><br />One of the <b>important aspects</b> to get started is opening an account with a broker. What are the positive aspects of broker account registration at <em>Interactive Brokers</em>:<br />- <b>Registration takes place online</b>, in which you fill out the necessary forms to open; <br />- <b>Copies of documents</b> for opening a brokerage account must be provided in <b>electronic form</b>.<br />After a <b>few days</b>, after the verification your account will <b>be activated</b>. Do not rush to transfer money before the end of the test, as you will not be able to use them until the documents are checked.<br /><br /><a href='https://stocksharp.com/file/110051/interactive-brokers-registration_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/110051/interactive-brokers-registration_png/?size=500x500" alt="Interactive-Brokers-registration.png" title="Interactive-Brokers-registration.png" /></a><br /><br />After it became available for the management of a brokerage account in the personal Cabinet you <b>need to create a reques</b>t for replenishment of funds. <br />Different currencies can <b>be used to replenish the account</b>, which simplifies the task for users. <br />Let's look at what types of <b>platforms Interactive Brokers</b> offers for trading:<br />- <b>Mobile version of the platform</b>, which enables online trading through mobile gadgets with <em>iOS</em> and <em>Android</em> operating systems;<br />- <b>Desktop version of the platform</b> <em>Trader Workstation (TWS)</em>, which is a full-fledged terminal for work<br /><br /><a href='https://stocksharp.com/file/110052/interactive-brokers-trading-platform_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/110052/interactive-brokers-trading-platform_png/?size=500x500" alt="Interactive-Brokers-Trading-Platform.png" title="Interactive-Brokers-Trading-Platform.png" /></a><br /><br />- <b>WEB application</b> - <em>WebTrader</em>, built on <em>HTML</em>, allowing online use of trading functions and tools.<br />The<em> Interactive Brokers API</em> requires <b>special attention</b>. With all the <b>positive reviews</b> about <em>Interactive Brokers</em>, there is a very important point. The broker <b>provides open source code</b> to create its own application based on its <em>API</em>. <br />Many users who first open <em>Trader Workstation</em>, the desktop version of the terminal, are confused. The abundance of seemingly different related information on the screen leads to confusion. Quite a long time design, makes use of the terminal is very inconvenient and causing a large number of questions. <br />In order to correct the situation, the <b>broker provided access </b>to the <em>Interactive Brokers API</em> libraries, so that each user would have the opportunity to<b> create their own terminal. <br /></b><br /><a href='https://stocksharp.com/file/110054/interactive-brokers-api-choice_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/110054/interactive-brokers-api-choice_png/?size=500x500" alt="Interactive-Brokers-API-choice.png" title="Interactive-Brokers-API-choice.png" /></a><br /><br />Applications that are <b>created using</b> <em>Interactive Brokers API</em> have <b>full functionality</b>, have <b>access</b> to the user's <b>open accounts</b>, <b>access</b> to <b>market data </b>and <b>trading charts</b>. <br />A wide range of<b> programming languages</b> is limited only by the choice of operating system for some of them:<br /><br /><a href='https://stocksharp.com/file/110055/interactive-brokers-api-programming-terminal_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/110055/interactive-brokers-api-programming-terminal_png/?size=500x500" alt="Interactive-Brokers-API-programming-terminal.png" title="Interactive-Brokers-API-programming-terminal.png" /></a><br /><br />Having the <b>ability to create</b> their own application, the user <b>creates a convenient environment for work</b>. For the convenience of <b>creating your application</b>, we recommend using our <b><u><a href="https://stocksharp.com/products/api" title="https://stocksharp.com/products/api">S#.API</a></u></b>. <br />This program allows you to <b>use libraries to create</b> the necessary software product for the trader – terminal, using the <em>C#</em>. The library's own <em>API</em>, allows you to expand the capabilities of the <b>created terminal</b>. The integrated ability to<b> connect through the necessary Protocol</b>, such as <em>FIX Protocol</em>, through our connectors, allows you to <b>simplify the user's work</b>, thereby reducing the time for the <b>development and adaptation</b> of the application to<b> work on the trading floor</b>.https://stocksharp.com/topic/11471/Pyramiding in trading2020-03-10T22:39:46Z2020-03-10T22:39:46ZMarathttps://stocksharp.com/users/101940/info@stocksharp.comEarlier in the articles, we considered such mechanisms used in trading as <b>Stop-Loss</b> and <b>Take Profit</b>.<b> Of course, these two tools help reduce the risk and increase the profitability of the strategy</b>. But what if, because of them, we limit ourselves to getting more profit?<br />To understand how this can be done, you need to consider <b>Pyramiding</b>.<br />What is <b>pyramiding - оne of the types of strategy aimed at increasing capital by step-by-step opening of several transactions with a favorable trend</b>. Using this strategy allows the trader to get a stable income.<br />Let's consider the principle of pyramiding.<br />The essence of pyramiding is that after the profitable result of the last transaction, the trader opens a new position, while doubling the bid, compared to the previous one. As for the risk arising from the next bid, it is equal to the sum of the profit of the previous stage and the initial bid. At the same time, the amount of profit depends on the so-called "steps" of pyramiding, and it grows exponentially.<br /><br /><a href='https://stocksharp.com/file/111744/buy-order-pirammiding_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/111744/buy-order-pirammiding_png/?size=500x500" alt="Buy-order-pirammiding.png" title="Buy-order-pirammiding.png" /></a><br /><br /><b>Pyramiding is applicable in any market – stock, currency, and others.</b> The trader adds a new position to the previous effective one, if the trend direction is profitable for him.<br />If the trader's actions are calculated correctly, he will always be in profit. The use of various trading robots also contributes to a more convenient use of pyramiding. For example, <a href="https://stocksharp.com/robot/12/mister-haid/" title="https://stocksharp.com/robot/12/mister-haid/">"Mr. Hyde" </a>from StockSharp, which in automatic mode and flexible configuration can trade in pyramiding mode.<br />An important point is that the trader must be sure that the trend is stable, otherwise it can lead to losses. However, the use of automated programs, such as <a href="https://stocksharp.com/products/designer/" title="https://stocksharp.com/products/designer/">Designer</a>, which use <a href="https://doc.stocksharp.com/html/6974891d-4c8d-46e1-bdeb-fc7391bc0625.htm" title="https://doc.stocksharp.com/html/6974891d-4c8d-46e1-bdeb-fc7391bc0625.htm">condition cubes and position protection</a>, makes trading with pyramiding minimally risky. An example of this strategy is shown below.<br /><br /><a href='https://stocksharp.com/file/111745/stop-loss-strategy_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/111745/stop-loss-strategy_png/?size=500x500" alt="stop-loss-strategy.png" title="stop-loss-strategy.png" /></a><br /><br /><u>Let's consider the basic rules of pyramiding.</u><br /><em>-<b> Constantly monitor the ratio of return and risk within 1 to 2</b>, so that the previous yield can cover the current risk.<br />- <b>All parameters used during trading must be calculated in advance before entering the market.</b><br />- <b>Use pyramiding only on a stable trend</b>.</em><br /><br /><u>Let's look at an example of using pyramiding.</u><br />Let the trader have a capital of $10,000. At each main level, it can buy 10,000 units of the selected currency. In the Forex market, this is 1 mini lot. The amount of profit at each stage will differ, however, the size of the set Stop-Loss for each opened transaction will be equal to 50 points.<br />So, the trader buys 10,000 units of the base currency. Let's assume that the market situation is shown in the figure.<br /><br /><a href='https://stocksharp.com/file/111743/stop-loss-order-transfer_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/111743/stop-loss-order-transfer_png/?size=500x500" alt="stop-loss-order-transfer.png" title="stop-loss-order-transfer.png" /></a><br /><br />The price rises and breaks through the resistance level, now this level becomes the support level.<br />Let a bullish pin bar be formed at the support level (a graphical analysis figure based on the non-indicator method of trading, as well as the analysis of Price Action charts), in consequence of which the trader decides to buy 10,000 units of currency. When a trade is opened, the trader sets the Stop-Loss at 50 points or 1% of the risk of capital.<br /><br />This way the trend keeps its direction, and the trader trades further. The trend breaks the next level, and the price is set above the support level, and the trader buys another 10,000 units, and the previous Stop-Loss is transferred to the new level.<br />The same situation is when the price breaks the third level<br /><br />Thus, the trader accumulates a long position of 30,000 units of the main currency by the third stage. There is almost no risk, since at the third stage, when a deal is concluded for 10,000 units, the profit will be <b>4%</b> if the trend reverses.<br /><br />The potential profit, with a successful outcome, can be <b>12%</b>.<br /><u>Let's look at this example in numbers.</u><br /><br /><a href='https://stocksharp.com/file/111746/stop-loss-order-trade_png/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/111746/stop-loss-order-trade_png/?size=500x500" alt="stop-loss-order-trade.png" title="stop-loss-order-trade.png" /></a><br /><br />It is important to see how the possible profit increases from each stage to the next, while reducing the risk<br />The trader's first trade will bring him a profit of 6% of the initial capital.<br /><u>Consider all the situations in the market:</u><br />-<b> First transaction</b>: 10,000 units<br /><em>Negative: there was a -1% loss<br />Positive result: +6% in profit</em><br /><br />- <b>Second transaction</b>: 10,000 units<br /><em>Negative result: no loss (+2%in profit from the first stage and -1% in loss from the second)<br />Positive result: +10% in profit (+6% in profit from the first stage and +4% in profit from the second)</em><br /><br />- <b>Third transaction</b>: 10,000 units<br /><em>Negative result: +4% in profit (+3%in profit from the first stage, +2% in profit from the second stage and -1% in loss from the third)<br />Positive result: +12% in profit (+6% in profit from the first stage, +4% in profit from the second stage and +2% in profit from the third)</em><br /><br /><b>As you can see, the risk is about 1%, while with positive trading of all three stages, the profit will be 12%</b><br /><br /><u>Main advantages and disadvantages of building:</u><br /><b>Plus:</b><br />- <em>Pyramiding strategy allows you to increase your income with minimal risk;</em><br /><b>Minus:</b><br />- <em>The strategy is quite complex and requires experience. It is possible to use the strategy for medium or long periods of time, preferably using automated trading systems. The correct calculation of the exit point from pyramiding, analysis and testing of the trend behavior is of great importance, which necessarily leads to the use of trading robots. Pyramiding is not suitable for scalping strategies, and is also aimed at long-term trading.</em><br /><br /><b>Pyramiding is a profitable and relatively safe method of trading. Its reliability has a downside in the duration of the process, the accumulation of sufficient experience and knowledge in trading that would correctly calculate the levels of trade. Also, this type of trading is not suitable for all traders, so choosing it as the main one should be conscious.</b>https://stocksharp.com/topic/11255/Interactive Brokers FAQ. INTERACTIVE BROKERS-who are they?2019-12-11T15:35:11Z2019-12-11T15:36:01ZMarathttps://stocksharp.com/users/101940/info@stocksharp.com<em>Interactive Brokers</em> is the <b>largest broker </b>in the<b> United States</b>, based on the volume of average daily transactions with profit. <em>Interactive Brokers </em>is a <b>leading electronic Forex broker</b>. <br /><a href='https://stocksharp.com/file/110267/interactive-brokers_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/110267/interactive-brokers_jpg/?size=500x500" alt="Interactive-brokers.jpg" title="Interactive-brokers.jpg" /></a><br />Electronic brokers are focused on trading strategies or trading robots that work in the sector of trading with commodities [nerd], this allows us to say that this broker is among the <b>five Prime brokers</b>.<br /><em>Interactive Brokers</em> is fully<b> regulated </b>by the financial industry Regulatory authority, the securities and exchange Commission, the new York stock exchange, the financial conduct Authority, and other self-regulatory organizations.<br />To get the data, use the<em> API</em> connection via the <em>IB TWS</em> terminal.<br /><a href='https://stocksharp.com/file/110268/interactive-brokers-api_jpg/' class='lightview' data-lightview-options="skin: 'mac'" data-lightview-group='mixed'><img src="https://stocksharp.com/file/110268/interactive-brokers-api_jpg/?size=500x500" alt="Interactive-brokers-API.jpg" title="Interactive-brokers-API.jpg" /></a><br />To work with this program, <em>StockSharp</em> has created its own <a href="https://stocksharp.com/products/api/" title="https://stocksharp.com/products/api/">API library</a>, which allows you to create your own connection. <br />What can this give the trader? There are several <b>advantages</b>:<br /><em>-The fastest quotes<br />-The average receiving speed is 4 MS<br />- Work with real and demo accounts</em><br />Accordingly, the use of <em>Interactive Brokers</em> with the help of <a href="https://stocksharp.com/products/api/" title="https://stocksharp.com/products/api/">API libraries</a> opens up new opportunities for the trader, allowing him to <b>expand the expansion of his trading operations</b>.