Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

Sign in to follow this  
Guest fallond

Build a Trading Strategy in Zignals

Recommended Posts

Guest fallond

Zignals.com launched a Trading System builder in November 2009 which allows users create your own trading strategies and follow the trade signals generated via email. Trading Strategy publishers will eventually have the opportunity to earn money selling it in the Zignals MarketPlace. If you would like to read more about the Trading System builder you can do so here.

 

But first things first; FREE registration with Zignals followed by a prompt to download Microsoft's Silverlight will give access to the trading strategy builder. For this article I am working through the Zignals Dashboard which gives full access to all services (stock alerts, stock charts, stock screener and portfolio manager) within a single application. The key advantage of using this over the individual applications is the seamless switching between applications.

 

We shall start with a simple strategy - a price cross above a 20-day Simple Moving Average (SMA). This will be a long only strategy.

 

On loading the Trading System interface you will be greeted with a grid-interface; along the top is a set of menu options and on the right a series of steps, numbered 1 to 5, required to create a strategy. For the first step, select My Strategies.

 

This will open a window which defines the risk management and exit strategies. The first version of our trading strategy builder offers exits based on percentile steps; this is an excellent way of letting trades run as you can be as tight or as loose with the trailing stop/target as you want to be.

 

Default trading strategies start with $100,000 capital and an allocation of $10,000 per position. Checking the autocalculate option will preset the amount per trade based on the pool of stocks to draw from (so as to ensure you don't overinvest in situations triggers are given for all constituents). In this example we will be using 17 stocks which gives an allocation of $5,888 per trade; I have rounded this to $6,000 per position. The comission is set at $10 and have left the slippage percentage unchanged. The Delay Between Trades is used to control whipsaw and we have set this to 10.

 

The Stop Conditions offer more flexibility. There is the option to use or not use a trailing stop. To maximise profits we will use a trail; the trail kicks in once the initial Target Percentage is set - a position will be exited if prices fall by the Stop Percentage (in a long strategy). When the Target Percentage is hit then a rolling target and stop defined by the Trail Percentages is activated with an end point Profit Target which closes the position once reached.

 

Next it is time to assign your stocks. I have created a list using the same stocks of Active Trader: Apple (AAPL), Boeing (BA), Citigroup ©, Caterpillar (CAT), Cisco (CSCO), Disney (DIS), General Motors (GM), Hewlett Packard (HPQ), International Business Machine (IBM), Intel (INTC), International Paper (IP), J.P. Morgan (JPM), Coca Cola (KO), Microsoft (MSFT), Starbucks (SBUX), AT&T (T), and Wal-mart (WMT).

 

The most important step is to assign your rules. As this is a simple price crossing a moving average we will create a new Technical Rule. In the left-hand-dropdown we select Price and in the right-hand-dropdown we select Trend/Simple Moving Average with a period length of 20.

 

After a rule is created we need to Add to Strategy. This places the rule into a rule list on the right; from there it's a matter of dragging it into the workspace.

 

The first rule dragged-in will automatically connect to the starting point. Other rules you drag-in can either be connected to existing rules or, by dragging the top box down to the new rule, connect to the dragged-in rule (see below).

 

The final step is to connect your rule(s) to the end-point to complete the flow.

 

Once you are happy with your strategy it should then be saved.

 

From there we move to step 4 and define our back-test period. The default is the past 2-years but you test for any period back as far as 2001 (for US stocks). During a backtest an historical portfolio is created; if you wish to give this portfolio a name it can be done here. The option to view the portfolio is offered after the run is complete. This is recommended so you can see the performance of your strategy.

 

In the price cross of 20-day SMA with our trailing target/stop set at 10%/10% and profit target of 25% returned 17.2% over the past 2 years. Max drawdown was -23.4% but the srategy enjoyed a 44% win percentage. However, it did endure a maximum losing sequence of 13 trades which would hurt anyones confidence! The current portfolio holds 13 stocks.

 

At this point two options are available:

 

[1] The strategy can be edited further and new portfolios created OR

[2] The strategy can be Published so that the trading signals can be received by email.

 

To do this it is necessary to switch from the Portfolio Manager back to the Trading System. In the Trading System open your saved Strategy.

 

There is a full range of edits available including changing the risk management options - the stocks, Forex pairs, or commodities used - or the rules themselves.

 

When you are satisfied the last step, step 5, allows you to Publish the trading strategy to our MarketPlace. Publishing brings up a summary of your strategy and the conditions attached. A brief commentary can be attached and the subscription cost you would like to charge for when the MarketPlace comes out of Beta.

 

Publishing activates the mailing of signals. As the publisher of a strategy you will automatically be subscribed and will get trade signals delivered to your email box as they occur. Published strategies also appear in your Published Trading Strategies window.

 

If you would like to subscribe to this strategy - called Developing a Strategy - then you can do by searching for my user id ('fallond'), or any of the aforementioned stocks comprising the strategy, in the MarketPlace. Should the strategy perform well, then it will appear in the Top 20 Trading Strategies widget in the Dashboard.

 

Download this article - with screenshots - in PDF form from Scribd

 

Follow Zignals on Twitter here

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Topics

  • Posts

    • NFLX Netflix stock, watch for a top of range breakout at https://stockconsultant.com/?NFLX
    • SMCI Super Micro Computer stock watch, attempting to move higher off the 34.06 support area at https://stockconsultant.com/?SMCI        
    • UPST Upstart stock watch, pull back to 68.15 gap support area at https://stockconsultant.com/?UPST  
    • Why not to simply connect you account to myfxbook which will collect all this data automatically for you? The process you described looks tedious and a bit obsolete but may work for you though.
    • The big breakthrough with AI right now is “natural language computing.”   Meaning, you can speak in natural language to a computer and it can go through huge data sets, make sense out of them, and speak back to you in natural language.   That alone is a huge breakthrough.   The next leg? AI agents. Where they don’t just speak back to you.   They take action. Here’s the definition I like best: an AI agent is an autonomous system that uses tools, memory, and context to accomplish goals that require multiple steps.   Everything from simple tasks (analyzing web traffic) to more complex goals (building executive briefings or optimizing websites).   They can:   > Reason across multiple steps.   >Use tools like a real assistant (Excel spreadsheets, budgeting apps, search engines, etc.)   > Remember things.   And AI agents are not islands. They talk to other agents.   They can collaborate. Specialized agents that excel at narrow tasks can communicate and amplify one another’s strengths—whether it’s reasoning, data processing, or real-time monitoring.   What it Looks Like You wake up one morning, drink your coffee, and tell your AI agent, “I need to save $500 a month.”   It gets to work.   First, it finds all your recurring subscriptions. Turns out you’re paying $8.99 for a streaming service you forgot you had.   It cancels it. Then it calls your internet provider, negotiates a lower bill, and saves you another $40. Finally, it finds you car insurance that’s $200 cheaper per year.   What used to take you hours—digging through statements, talking to customer service reps on hold for an hour, comparing plans—is done while you’re scrolling Twitter.   Another example: one agent tracks your home maintenance needs and gets information from a local weather-monitoring agent. Result: "Rain forecast next week - should we schedule gutter cleaning now?"   Another: an AI agent will plan your vacations (“Book me a week in Italy for under $2,000”), find the cheapest flights, and sort out hotels with a view.   It’ll remind you to pay bills, schedule doctor’s appointments, and track expenses so you’re not wondering where your paycheck went every month.   The old world gave you tools—Excel spreadsheets, search engines, budgeting apps. The new world gives you agents who do the work for you.   Don’t Get Too Scared (or Excited) Yet William Gibson famously said: "The future is already here – it's just not evenly distributed."   AI agents will distribute it. For decades, the tools that billionaires and corporations used to get ahead—personal assistants, financial advisors, lawyers—were out of reach for regular people.   AI agents could change that.   BUT, remember…   We’re in inning one.   AI agents have a ways to go.   They’re imperfect. They mess up. They need more defenses to get ready for prime time.   To be sure, AI is powerful, but it’s not a miracle worker. It’s great at helping humans solve problems, but it’s not going to replace all jobs overnight.   Instead of fearing AI, think of it as a tool to A.] save you time on boring stuff and B.] amplify what you’re already good at. Right now is the BEST time to start experimenting. It’s also the best time to find investments that will “make AI work for you”. Author: Chris Campbell (AltucherConfidential)   Profits from free accurate cryptos signals: https://www.predictmag.com/     
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.