Current location - Trademark Inquiry Complete Network - Futures platform - Ratio index formula code
Ratio index formula code
Ratio: v/ref(ma(v, 5),1);

This only considers the comparison between the current trading volume under the K-line and the top five average trading volume, no matter how long the opening time is.

The test was successfully called in the time-sharing diagram of version 6. 13 of Tongda letter.

Ask close questions

Of course, the 5th is the turnover per minute of the first five days, and now it can't be the cumulative time from the opening to the present. What I want is the volume every time, and finally the average volume every two minutes. Common turnover is accumulated from the opening or even one day, and it is not easy to catch those who skyrocket halfway. Why do I need two minutes or a minute? This is because sometimes a stock goes too far after starting for four or five minutes, but if it starts for one or two minutes, the rising risk and.

To answer your question, it is actually the deviation between the current quantity and the quantity ratio, right? There are two methods, one is simple, that is, the average value of nearly 2 minutes is multiplied by the ratio, and the change is completely amplified to make the signal eye-catching.

Another is to calculate the standard deviation, but the parameters need to be discussed.

If the weighting method is adopted, the amount of the whole day plus the amount of nearly two minutes, then the later the time, the less obvious the weighting effect.

So it is not recommended.