Login Page - Create Account

Support Board


Date/Time: Wed, 01 May 2024 23:12:29 +0000



Post From: custom spreads charting in Sierra Chart

[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