Current location - Trademark Inquiry Complete Network - Futures platform - How to add your own indicators in the futures (Fuyuan) software?
How to add your own indicators in the futures (Fuyuan) software?
I feel that I can't use Fuyuan's software. I can use Mandarin or Pengbo, and I can edit and add indicators. For specific writing methods, you can refer to other indicators.

Examples of purchasing indicators (pseudocode, informal procedures):

1. Set the parameters p 1, p2, which will be used for the following calculation;

2.p 1 := MA(close,5);

P2 := MA (closing price,10);

Take the 5-day moving average and the 10 moving average as examples.

3. Programming ideas:

A.p 1 and p2 cross (cross statement)

B.n days ago, p 1

4. Test the formula, give it a name, and you can call it automatically in the future.

This formula can be used as a screening condition in watch software, but I'm still used to judging by the moving average system myself, otherwise it will jump too fast and be unstable.