Support Board
Date/Time: Wed, 22 Jan 2025 04:11:50 +0000
[Programming Help] - MQL to Sierra Charts - Dev needed
View Count: 1850
[2018-09-02 13:12:18] |
DaxTrader54 - Posts: 8 |
Can you please tell me the best place to go to hire a dev to convert a MetaTrader4 indicator into a custom sierra chart study? Perhaps you guys know some people who may take the job, rather than me just posting on UpWork or similar. Many thanks |
[2018-09-05 13:35:23] |
ForgivingComputers.com - Posts: 989 |
I may be able to help you, but I don't know MetaTrader4. Brad Houser ForgivingComputers.com |
[2018-09-05 15:19:53] |
DaxTrader54 - Posts: 8 |
MetaTrader4 source code for custom indicators is called MQL4 and is very close to C++
Date Time Of Last Edit: 2018-09-05 15:52:00
|
[2018-09-05 15:47:52] |
ganz - Posts: 1048 |
https://docs.mql4.com/
|
[2018-09-05 20:58:46] |
User735640 - Posts: 14 |
MetaTrader4 source code for custom indicators is called MQL4 and is very close to C++
The big problem is that lots of things you can do in MT4 code you just cant do with sierra. One thing is you cant manually draw a trend line on a chart and then have sierra code determine when current price has crossed over the trendline. There probably is lots of other types of problems you may encounter with trying to rewrite MT4 code to Sierra code. Date Time Of Last Edit: 2018-09-05 21:00:28
|
[2018-09-05 21:15:56] |
ForgivingComputers.com - Posts: 989 |
The big problem is that lots of things you can do in MT4 code you just cant do with sierra.
I will need a complete technical description of the product requested, so I can build it from scratch. Decoding some other source code only adds to the time needed. Screen prints and inputs are also needed so I can get the UI as close as possible to the MT4 experience. |
[2018-09-05 22:00:32] |
Sierra Chart Engineering - Posts: 104368 |
The big problem is that lots of things you can do in MT4 code you just cant do with sierra. This is not really true. Makes no sense. Of course you can do all of this.
One thing is you cant manually draw a trend line on a chart and then have sierra code determine when current price has crossed over the trendline. There probably is lots of other types of problems you may encounter with trying to rewrite MT4 code to Sierra code. 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-09-05 22:16:46] |
DaxTrader54 - Posts: 8 |
Thank you all for the messages so far, I now realise that I have literally provided no clues as to what I am looking for. This was my error. Here is a screenshot of the indicator I would like to rebuild for sierra. It is an RSI Divergence indicator. https://www.screencast.com/t/ASXjkIYSES The only inputs are - RSI period - Number of bars/history to include in the loop The calculation method for the divergence is based on peaks/troughs of price action and the peaks/troughs of the RSI oscillator reading. Regular Bullish Divergence = Lower Low on price, but Higher Low on the oscillator Regular Bearish Divergence = Higher High on price, but Lower High on the oscillator A priceActionPeak() finds a high by starting with candle[-3] and scanning to make sure that its high is higher than the highs of two candles either side, so H[-5],H[-4],H[-2],H[-1] A priceActionTrough() finds a Low by starting with candle[-3] and scanning to make sure that its Low is lower than the lows of two candles either side, so L[-5],L[-4],L[-2],L[-1] Once it locates a price action Peak or Trough, the MT4 indicator checks the oscillator peaks and troughs for the same period and checks if there is regular divergence. The indicator displays RSI oscillator and it displays the instances of 'regular bullish RSI divergence' and 'regular bearish RSI divergence' by drawing the objects on the chart. It provides approx 2000 candles of history. Hope that made sense... |
[2018-09-05 22:34:08] |
User735640 - Posts: 14 |
This is not really true. Makes no sense. Of course you can do all of this.
Excellent, good to know that this is now possible.. Previous post going back years from users requesting such ability were told otherwise. https://www.sierrachart.com/SupportBoard.php?do=Search&LimitToForum=0&Query=trendline&Submit_Search=Search I look forward to seeing example code in the documentation or even better a trendline study that is able to provide an alert when current price has crossed over a user adjustable trendline. |
To post a message in this thread, you need to log in with your Sierra Chart account: