Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 17:59:30 +0000



[Programming Help] - Ichimoku strategy

View Count: 2641

[2018-09-23 08:51:34]
User609325 - Posts: 1
Hi, I am a new user of Sierra, I would like to ask you if anyone has ever tried or managed to implement a strategy based on the ichimoku cloud. My current trading system is composed like this:
Conditions to open a long:
first - chikou out of the cloud and above the cloud,
second - green future kumo or span A above the span B to the future.

Conditions to open a short:
first - chikou out of the cloud and under the cloud,
second - kumo future red or span B above the span A to the future.

Long signal:
upper breakout of the kumo by the graph, or
tenkan passes over kijun above the cloud (strong cross bull).

Short signal:
lower breakout of the kumo by the graph, or
tenkan passes under the kijun under the cloud (strong cross bear).

The trade opens when it occurs: condition 1 + condition 2 + one of the 2 signals all the same.
The trade closes when the price meets the kijun if in profit, if a loss is expected in a subsequent cross.
Stop loss on opposite cloud breakout.
 
My goal would be to create an automatic trading system that respects these rules. I tried to read the guide but I'm finding it very difficult to make the system.
[2018-09-23 13:47:11]
Xfanman1 - Posts: 320
This should be fairly straight forward. If you're new to this start by creating simple alerts using the Color Bar Based on Alert Condition Studies. This will let you see what your alert code is doing as you create it very quickly. You'll need 2 separate Studies, one for your Longs and one for your Short alerts. When you have your alert formulas written satisfactorily you can move your formula's to the Trade System Based on Alert Condition studies and back test it using Replay. You'll need 4 versions of this study, your Long Entry and Exit, and your Short Entry and Exit. Depending on how involved your strategy becomes you may decide to move it to the Spreadsheet Trading system (you'll have to rewrite your code slightly as it's not copy and paste from Study Alerts to the Spreadsheet) as it's more robust then the Studies and you can incorporate all your code for your complete strategy on the same spreadsheet. If you're still struggling after playing with it for awhile, ask specific questions and most likely someone will lend you a hand. If you want your entire strategy coded for you, you can always hire one of the people that post here to do it for you. You can find their information here -->

https://www.sierrachart.com/index.php?page=doc/SierraChartStudyAndSystemProgrammers.php

This is a good place to start seeing how Simple Alert formulas need to be written -->

Study/Chart Alerts And Scanning: Alert Condition Formula Format

I'm NOT an expert like Tom Gilb and some of the other members here, but I can usually hammer things out. If you have a specific formula question I'll be happy to try to help you if I can.

--
Scott
Date Time Of Last Edit: 2018-09-23 21:01:31
[2019-04-02 11:22:42]
Ackin - Posts: 1865
Hi, It's done

Via ACSIL

Ackin's indicators (SCH users requests for studies) - Update list | Post: 175860
imageichimoku.png / V - Attached On 2019-04-02 11:22:37 UTC - Size: 48.64 KB - 1167 views

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account