Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 12:09:07 +0000



To SC: Can I do this without programming or do I have program it ?

View Count: 701

[2017-12-21 11:48:53]
User52897 - Posts: 47
I am seeking to solve the following:

ONE:
1. Multiple secondary MAs displaced vertically above and below a primary MA.
2. Vertical displacement levels are equal distance so distance calculation would be x*1, x*2, x*3 etc.
3. Primary and secondary MAs are all the same period.
example:

ExtMapBuffer1[i]=iMA(NULL,0,MAP,MAS,MAM,MAPr,i);
ExtMapBuffer2[i]=iMA(NULL,0,MAP,MAS,MAM,MAPr,i)+ EDev*Point;
ExtMapBuffer3[i]=iMA(NULL,0,MAP,MAS,MAM,MAPr,i)+ EDev*Point*2;
ExtMapBuffer4[i]=iMA(NULL,0,MAP,MAS,MAM,MAPr,i)+ EDev*Point*3;

TWO:
1: If all MAs are x at 1H then the following for lower timeframes.
2. x*2 for 30M, x*4 for 15M, x*6 for 10M, x*12 for 5M, x*60 for 1M.
3. If the timeframe is changed the study MA period adjusts automatically.
example:

switch(Period())
{
case 240: MAP = MAP_x/4; break;
case 60: MAP = MAP_x; break;
case 30: MAP = MAP_x*2; break;
case 15: MAP = MAP_x*4; break;
case 10: MAP = MAP_x*6; break;
case 5: MAP = MAP_x*12; break;
case 1: MAP = MAP_x*60;
}

ONE & TWO is basic coding which I have implement in MQL4.
Due to time constraints and non professional coding skills I'm trying not reinvent the wheel with regards to implementing in Sierra chart.

Can kindly advise of any means of implementing above:
ONE: without resorting to coding and
TWO: without resorting to coding

If my reply is not necessary - thanks in advance.
Date Time Of Last Edit: 2017-12-21 15:00:16
[2017-12-21 18:07:43]
User52897 - Posts: 47
To SC: I am not seeking a user discussion.

1. If it can be done in SC without programming I will take a further look and try and figure out myself.
2. If I need to program a custom study I will look into it myself.
3. Can you kindly clarify.
Date Time Of Last Edit: 2017-12-21 18:09:19
[2017-12-21 18:26:31]
Sierra Chart Engineering - Posts: 104368
You probably do have to do custom programming.

But refer to this page first:
http://www.sierrachart.com/index.php?page=doc/ArithmeticStudies.php

For custom programming, refer to:
http://www.sierrachart.com/index.php?page=doc/AdvancedCustomStudyInterfaceAndLanguage.php
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-12-21 18:26:57

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

Login

Login Page - Create Account