# Support Board

Date/Time: Sun, 21 Oct 2018 00:56:43 +0000

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

Support Request:
 [2017-12-21 11:48:53] #1 User528970 - Posts: 19 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] #2 User528970 - Posts: 19 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] #3 Sierra Chart Engineering - Posts: 65034 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. If possible please keep your questions brief and to the point. Please be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you. Date Time Of Last Edit: 2017-12-21 18:26:57