Re: MT4 Indicator requests and ideas

2182
baraozemo wrote: Fri Oct 06, 2017 2:57 am Hi,

I tring to build a indicator called "prior daily close line"

I got the "open line" from mladen and tried to chance some code to make it give me the "prior" daily close line...
but its not working like expect...

my wrong code
Snap1.jpg

what I need
Snap2.jpg
Change line 40 to this :

Code: Select all

            closeLine[i] = (i>0) ? (TimeToString(time[i-1]+TimeShift*3600,TIME_DATE)==stime) ? closeLine[i-1] : close[i-1] : close[i];




Who is online

Users browsing this forum: Applebot [Crawler], Bing [Bot], BlockagePro, ChatGPT [Bot], Google [Bot], IBM oBot [Bot], WhatsApp [Bot], witori and 81 guests