Tradetron is a robust and feature-rich algorithmic cum automated trading platform for retail traders. Its patent-pending technology and cloud-based architecture has helped it gain enough limelight in the recent past. Folks with no previous background in computer programming can develop algorithmic strategies in Tradetron in just a few minutes, that’s the beauty of this platform! In this article, you’ll learn how to create a strategy in Tradetron in a step-by-step fashion. Furthermore, you’ll also get an understanding of deploying and monitoring your trading strategies.
Prerequisites
Before you start creating a strategy, there are few things you would need to do:
- Use this link to open an account with Tradetron. Ignore if you already have an account. By default, you will be subscribed to their “free” plan and that should suffice to begin with.
- Learn about Tradetron features, architecture, and getting started guide at this link.
Apart from these, we recommend you brush up on the concepts of technical analysis, futures & options trading, etc so that you understand what you are doing. Refer Zerodha Varsity for some excellent resources on the same.
Overview of Tradetron Strategies
In Tradetron terminology, a ‘strategy’ is a set of rules using which you can automate your trades. It is composed of entry/exit rules, position-sizing, stop losses, execution rules, etc.
You can configure the strategy using Tradetron UI in a simple drag and drop interface. And once the strategy is created, it can be deployed and linked to your broker account for automated execution.
Automated Trading Software in India – Top Recommendations
How a Strategy is Organized in Tradetron?
Each strategy is Tradetron is organized into one or more sets. Each set has its own entry conditions, repair conditions, and exit conditions. And with every entry or repair condition, one or more positions are linked
Algo Trading with Zerodha – Step by Step Tutorial
Let’s Create a Strategy
To create a strategy in Tradetron, you first need to have some strategy rules. These rules can be based on technical analysis, fundamental analysis, option greeks, etc
Below are the strategy rules that we are going to create in Tradetron:
Timeframe – Intraday 1 minute
Indicators Used – RSI(17), ADX(14)
Buy Rules – RSI(17) >= 75 AND ADX(14) >= 25
Short Rules – RSI(17) <= 25 AND ADX(14) >= 25
Sell Rules – Same as Short Condition OR Time >= 03:15 PM
Cover Rules – Same as Cover Condition OR Time >= 03:15 PM
Stop Loss – 1 %
Targets – No fixed target
Instruments – Nifty or Banknifty Futures
These rules would be organized in a Tradetron strategy as below:
Buy Rules – Set 1 Entry Conditions
Sell Rules and Buy SL – Set 1 Exit Conditions
Short Rules – Set 2 Entry Conditions
Cover Rules and Short SL – Set 2 Exit Conditions
You’ll learn more about how these rules are organized further in this article.
I hope you have signed up for Tradetron and logged in. If not please use this link.
Step 1: Fill in the strategy name and Description
Once you login to the Tradetron dashboard, click on ‘Strategies -> Create’ from the top menu bar.
The strategy creation page will appear where you need to fill in the strategy name, tags, and description. These things are very important if you are planning to sell your strategy as a subscription
Each set in the strategy is linked with a list. The list contains instruments you want the strategy conditions to be checked on. If you don’t want your strategy to run on multiple instruments, you may skip this step. Just below the description box, you would see Set No 1 defined. And besides that, you can select a list from the dropdown. Click on the +Add button inside the Entry Conditions block under Set 1. It will open up a condition builder. Here, we’ll define our Buy rules – RSI(17) >= 75 AND ADX(14) >= 25 Click on the + Condition button on the top right of the condition builder window to define conditions. You can define multiple conditions and tie them with AND or OR operators. For each position, you can fetch price data (open, high, low, close) or the value of technical indicators. When the entry conditions are satisfied i.e. RSI(17) >= 75 AND ADX(14) >= 25, then the system should take BUY position. Click on the +Add button inside the Positions block under Set 1. It will open up a position builder. Click on the “Buy” option at the top (it is the default), and add inputs as below: The inputs in the position builder are the same as what you enter while manually placing an order through your broker terminal. Exchange, Type, and List are populated by default based on the list you selected in step 1. You need to manually fill in the Product, Expiry, and Quantity. Expiry and Quantity can be a constant value OR can be derived using a formula by using the ‘Fx’ button. Click on the ‘Add’ button once you have defined the positions. The exit conditions in set 1 are equivalent to our ‘Sell’ rules. The buy position should exit when one of the below conditions are fulfilled: Click on the +Add button inside the Exit Conditions block under Set 1. It will open up a condition builder similar to Step 3. Click on the + Condition option at the top and add conditions as below: Our strategy involved two sets. In set 1, the entry and exit conditions for the long trades are defined. Similarly, in set 2, you need to define entry and exit conditions for the short trades You can copy-paste conditions within the sets to avoid rework. If you don’t see a paste button above the conditions box, refresh the page or update/save the strategy. The entry condition in set 2 would check if RSI(17) <= 25 AND ADX(14) >= 25. Its configured as below: A Universal Exit condition closes all the open positions in the strategy irrespective of the set where they originated from. Since our strategy works on the intraday timeframe, all the positions should be closed by end of the trading day. For the safer side, we’ll close our positions 15 minutes before the exchange close time (3:15 PM for NSE). We’ll configure this condition under universal exit. Defining any condition in a universal exit block is similar to how we did it in Entry or Exit blocks. Leave the advanced setting to default values. We’ll cover them in more detail in our future articles. On completing the above steps, click on the Create/Update button at the bottom to save your strategy. You can see your strategies from the ‘Strategies -> My Strategies’ link at the menu bar. From this page, you can deploy or edit your strategy. Deploying a strategy means activating it for live trading. To deploy, you’ll need to provide the below details on the deployment page: Once the strategy is deployed, you can view the same in the ‘Strategies -> Deployed’ link from the menu bar. The deployed strategies page contains a list of all the strategies that you have deployed for live or paper trading. Your deployed strategy remains in Live-Tranching status unless all the positions are fully taken. In the interim, no conditions are being checked. In the above screenshot, the status is ‘Live-Entered’ which means the positions are already taken. You can see the live positions in the tabular format with the instruments name, quantity, LTP, and P&L. Clicking on each individual symbol would show you the entry/exit price and time. The execution price may vary from broker to broker as there may be some latency involved. The slippage caused due to this latency is mostly against you, so you should always consider it while estimating your total P&L. The counter represents one full cycle of entry and exit. The counter in the screenshot is 1, which means it’s the first trade. If any repair conditions are satisfied and more orders are placed, then also the counter would remain 1. However, if the exit condition is satisfied, and the strategy is activated again (either manually or automatically) then the counter would change to 2. Besides the counter number, you’ll see the total profit & loss for that counter. Click on the ‘3 dots’ on the top right of strategy to see various operations you can perform on a deployed strategy. The strategy can be paused, archived, or reactivated from here. And also you can delete/edit the strategy. Ideally, there is no need to continuously monitor the strategy as the Tradetron platform takes care of the execution, however, you may need to take some manual actions in case the strategy goes into an error state. Keep the Email/Whatsapp notifications enabled so that you can act immediately. Also Read: Tradetron Video Tutorials After you create a strategy in Tradetron, it is very important to verify if your strategy conditions are working as expected or not. The best way to verify is to deploy your strategy in paper trading mode and check every trade. Our strategy takes Buy position when RSI(17) >= 75 AND ADX(14) >= 25 in 1 minute timeframe. And after deploying this strategy live, there was a Buy position taken in Nifty Futures on Dec 29, 1:10 PM. Let’s verify if the conditions were correctly checked or not. Let me first show you the 1-minute candlestick chart of Nifty in Tradingview. I have added RSI(17) and ADX(14) to the chart. I hope you got a fair idea of how to create, deploy, and monitor your strategies in Tradetron. It’s fairly simple and intuitive platform to build a fully automated trading system from scratch. Please be mindful that you cannot create a profitable strategy in a day or two, it takes exhaustive research and several iterations to come up with something useful. Tradetron is just an enabler that lets you simplify the way you trade, however, it’s not a money-making machine. If used wisely, you’ll get excellent results from Tradetron, many of our subscribers have already built profitable strategies and some are on the way. Click here to sign up for the upcoming Tradetron webinar where you’ll get a live demo of the entire platform along with some strategy creation tutorials. Please let us know if you want to learn anything specific about the Tradetron platform. We’ll love to publish more articles in the future. Step 2: Define a List
Step 3: Define Entry Conditions
keyword in Tradetron. This keyword provides you data about the specified position in the chart. The current candle corresponds to position 0, previous candle is position -1, previous to that is position -2… and so on.
Step 4: Define Entry Positions
Step 5: Define Exit Conditions
Step 6: Define Set 2 Entry and Exit Conditions
Step 7: Define Universal Exit Conditions
Step 8: Advanced Settings
Step 9: Save your Strategy
Deploying your Tradetron Strategy
Monitor your Trades
Active – Checking for entry conditions from all the sets in the strategy, but none of the conditions have been satisfied yet.
Verify your Strategy Conditions
Final Thoughts