mrtools wrote: Thu Aug 11, 2022 10:41 pm
By any chance do you have any more information?
Without more information, the source code is just that.
This is a built-in indicator in Chinese futures software (such as Tongdaxin, Flush and other software), the so-called LON (long-term) indicator.
All software and indicators in China are actually borrowed (or stolen from European and American countries). This indicator is estimated that they borrowed or stole a certain formula from European and American countries more than 10 years ago.
N=10
LC := REF(CLOSE,1);
VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100);
RC := (CLOSE-LC)*VID;
LONG := SUM(RC,0);
DIFF := SMA(LONG,10,1);
DEA := SMA(LONG,20,1);
LON : DIFF-DEA;
LONMA : MA(LON,N);
LONT : LON, COLORSTICK;
Re: Coding Help
Posted: Sat Aug 13, 2022 8:50 pm
by Jimmy
太虚一毫 wrote: Thu Aug 11, 2022 11:34 pm
Another way of writing <Tongdaxin Software>:
Again, fixed post 太虚一毫 - wrapped your code with CODE function.
Please as a kind reminder, when posting any code on this site, can we all remember to use the "Code" function in your post so it can be read easily?
If you're unsure on how to, please see below.
Just highlight your code and press the CODE button
Re: Coding Help
Posted: Thu Sep 08, 2022 4:16 am
by paoge
Hello everyone, don't know any other place to post this as I am just a mere mortal, no special abilities other than nursing, that's what I do for a living and like super new to the forum. I want to first thank the creators of the forum. I've learned a whole lot in just a week. I think you might have saved me months of time. I am backtesting indicators, but I'm finding it's becoming super monotonous because I'm testing each forex pair semi-manually. In other words, I open the EA and add the pair and open navigator and run the test. I'm wondering if there is a more efficient way to do this. How do I automate the testing process. I have very little knowledge in this area. I tried looking here in the forum, but there is soooo much education I don't even know where to look. Can someone point me in the right direction? Maybe a video?
Thank you
P
Re: Coding Help
Posted: Thu Sep 08, 2022 5:44 am
by mrtools
paoge wrote: Thu Sep 08, 2022 4:16 am
Hello everyone, don't know any other place to post this as I am just a mere mortal, no special abilities other than nursing, that's what I do for a living and like super new to the forum. I want to first thank the creators of the forum. I've learned a whole lot in just a week. I think you might have saved me months of time. I am backtesting indicators, but I'm finding it's becoming super monotonous because I'm testing each forex pair semi-manually. In other words, I open the EA and add the pair and open navigator and run the test. I'm wondering if there is a more efficient way to do this. How do I automate the testing process. I have very little knowledge in this area. I tried looking here in the forum, but there is soooo much education I don't even know where to look. Can someone point me in the right direction? Maybe a video?
Thank you
P
Welcome here! Don't know if this will help but this person has a trading simulator that far as I can tell is offering it for free. To me the simulator is a good way to test a strategy using multiple indicators. Attaching the simulator.