Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 05:55:22 +0000



custom spreads charting in Sierra Chart

View Count: 2042

[2017-11-11 20:20:32]
rpodgo - Posts: 2
I am looking for a charting/trading platform to trade spread strategies mainly in Forex/CFDs.

I would like the charts to be based on reliable and true data for forex - so probably external feed from data sources like IQ Feed or similar (not CFD data provided by brokers).

I need as good data as possible with OHLC full candles info for even short time frames - preferably tick data as I would like to chart also SPREADS on 2 currency pairs in a created synthetic spread formula.

What is the most important - I need to be able to CREATE and STORE custom spreads from 2 currency pairs. Preferable not simple spread - difference or ratio - but a simple formula involving 2 currency pairs. I am used to Bloomberg Terminal and this was simply achieved in BBG by CIX spread function. DO you have similar functionality in your platform?

the example of formula that I would like to STORE and Chart with OHLC candles from 5m to daily:

100 * (GBPNOK Curncy / 10.6117 - AUDJPY Curncy / 88.478 + 1)

Please let me know if this would be possible on your platform?

1. Can later link a CFD broker to your platform to trade directly from your platform with him?

2. if yes - can leave stop orders and profit take orders based on the TOTAL results of 2 trades?
For example: I am long 1 lot EURUSD and short 1 lot GBPUSD - can I set a stop loss based on result of those 2 trades - lets say when total loss on the both trades COMBINED is 500 USD - close both trades.

cheers, Rafal
[2017-11-12 18:25:43]
Sierra Chart Engineering - Posts: 104368
Certainly all of this is possible but it requires custom programming.

This programming is not difficult but it does require the use of ACSIL:
Advanced Custom Study Interface and Language (ACSIL)

the example of formula that I would like to STORE and Chart with OHLC candles from 5m to daily:

100 * (GBPNOK Curncy / 10.6117 - AUDJPY Curncy / 88.478 + 1)

Please let me know if this would be possible on your platform?
Not directly at this time, but there is functionality in the Advanced Custom Study Interface and Language in which you can do this calculation and generate and record the data for charting. These are the required functions:

sc.RelayNewSymbol()
sc.RelayTradeUpdate()


1. Can later link a CFD broker to your platform to trade directly from your platform with him?
Yes. Which one?


2. if yes - can leave stop orders and profit take orders based on the TOTAL results of 2 trades?
For example: I am long 1 lot EURUSD and short 1 lot GBPUSD - can I set a stop loss based on result of those 2 trades - lets say when total loss on the both trades COMBINED is 500 USD - close both trades.
Yes. Refer to:
Automated Trading From an Advanced Custom Study

Specifically to this function:
Automated Trading From an Advanced Custom Study: sc.GetTradePositionForSymbolAndAccount()

We are adding to this function now the capability to get the current Open Position Profit/Loss.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-11-12 18:29:06
[2017-11-14 10:37:48]
rpodgo - Posts: 2
Thank you so much for the answer. Just for my info - will I be able to chart the symbol as a Candle, or OHLC Bar only as with Difference/Ratio standard studied available in Sierra now?
[2017-11-14 18:46:15]
Sierra Chart Engineering - Posts: 104368
The answer is yes if you are referring to the data recorded by these functions:

sc.RelayNewSymbol()
sc.RelayTradeUpdate()
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2018-12-09 08:28:36]
User465507 - Posts: 74
Would the two functions SC Engineering mentioned be able to deal with varying sessions, e.g., for intra-commodity spreading on different exchanges with different open/close times? thus creating a new 'custom ticker' with a more limited trading session (where the two markets overlap)?
[2018-12-10 20:29:12]
Sierra Chart Engineering - Posts: 104368
All of those details are for you to implement. So that is for you to "deal with".
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account