Hi..
This MTF support and resistance indicator seems to have some programming flaw and doesn't work. Could it be fixed please?
And if anyone knows an indicator of this style, that is MTF, and does not repaint, I will be grateful if you share it with me.
Thanks since now
Re: Coding Help
1352Have this one it's similar to Barry support and resistance.pin12 wrote: Wed Aug 03, 2022 7:40 am Hi..
This MTF support and resistance indicator seems to have some programming flaw and doesn't work. Could it be fixed please?
And if anyone knows an indicator of this style, that is MTF, and does not repaint, I will be grateful if you share it with me.
Thanks since now
Re: Coding Help
1353Thank you very much MrToolsmrtools wrote: Wed Aug 03, 2022 11:39 am Have this one it's similar to Barry support and resistance.



Re: Coding Help
1354I wonder if this formula can be converted into .mq4 indicator?
Code: Select all
TB:=IF(HIGH-REF(CLOSE,1),HIGH-REF(CLOSE,1)+CLOSE-LOW,CLOSE-LOW);
TS:=IF(REF(CLOSE,1)>LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HIGH-CLOSE);
VOL1:=(TB-TS)*VOL/(TB+TS)/10000;
VOL10:=DMA(VOL1,0.1);
VOL11:=DMA(VOL1,0.05);
RES1:=VOL10-VOL11;
LON:SUM(RES1,0),COLORSTICK;
MA1:MA(LON,5);
Re: Coding Help
1355By any chance do you have any more information?太虚一毫 wrote: Wed Aug 10, 2022 1:14 pm I wonder if this formula can be converted into .mq4 indicator?
Code: Select all
TB:=IF(HIGH-REF(CLOSE,1),HIGH-REF(CLOSE,1)+CLOSE-LOW,CLOSE-LOW); TS:=IF(REF(CLOSE,1)>LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HIGH-CLOSE); VOL1:=(TB-TS)*VOL/(TB+TS)/10000; VOL10:=DMA(VOL1,0.1); VOL11:=DMA(VOL1,0.05); RES1:=VOL10-VOL11; LON:SUM(RES1,0),COLORSTICK; MA1:MA(LON,5);
Re: Coding Help
1356Without 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.
Re: Coding Help
1357Another way of writing <Tongdaxin Software>:
Code: Select all
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
1358Again, 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
1359
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
Thank you
P
Re: Coding Help
1360Welcome 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.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
- These users thanked the author mrtools for the post (total 2):
- Jedidiah, warytrader