Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 13:00:27 +0000



Post From: Study based on specific period

[2020-05-29 16:24:30]
Ackin - Posts: 1865
Volatility Profit Indicator

In your mentioned study:
this is the whole body of the calculation commands


  sc.ATR(sc.BaseDataIn, atrSubgraph, atrPeriodInput.GetInt(), MOVAVGTYPE_SIMPLE);
  
  sc.MovingAverage(sc.BaseDataIn[SC_HIGH], uMaSubgraph, maTypeInput.GetMovAvgType() , cur, ulPeriodInput.GetInt());
  sc.MovingAverage(sc.BaseDataIn[SC_LAST], mBandSubgraph, maTypeInput.GetMovAvgType() , cur, mPeriodInput.GetInt());
  sc.MovingAverage(sc.BaseDataIn[SC_LOW], lMaSubgraph, maTypeInput.GetMovAvgType() , cur, ulPeriodInput.GetInt());
  
  uBandSubgraph[cur] = uMaSubgraph[cur] + (atrMultiInput.GetFloat() * atrSubgraph[cur]);
  lBandSubgraph[cur] = lMaSubgraph[cur] - (atrMultiInput.GetFloat() * atrSubgraph[cur]);
}

There are only moving averages and ATR ... the shift in the calculation time will have no effect on it .... you will only have a study of the first half hour hidden nothing more .....
as I wrote above (#5)...
So you just want to hide this study for the first half hour ... Right?

Date Time Of Last Edit: 2020-05-29 16:26:39