The trading bot provides data products that serve to plot strategies’ actions over market data, offering a comprehensive set of visual clues that show how strategies behave when trading. These layers become available after running any of the four types of trading sessions: backtesting, paper trading, forward testing, and live trading.
The simulation layer displays the actions of strategies throughout the tested period. Actions include the take position event and the management of stop and take profit in phases. By turning on the simulation layer you should be able to see something like this:
The dashed line represents the duration of the trade at the price of the take position event. Notice how one asset is exchanged for the other asset at the take position event, and exchanged back as the trade closes.
Notice the green horizontal lines indicating the take profit value for each period or candle). Take profit is managed in phases, marked with the corresponding icons.
Notice the red horizontal lines indicating the stop value for each period or candle. Stop is managed in phases marked with the corresponding icons.
The conditions layer helps identify which conditions are met at each candle. Notice how conditions are highlighted as the mouse pointer moves through different candles.
It also allows to track the value of each formula, for instance, those used to dynamically manage take profit in phases.
The trades layer marks trades with a triangle whose hypotenuse connects the price at the take position event with the exit price. When the trade is profitable, the triangle is green; when the exit happens at a loss, the triangle is red.