Attachments forums

List of attachments posted on this forum.


All files on forums: 136107

Re: Coding Help

太虚一毫, Wed Aug 10, 2022 1:16 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);
All files in topic