- Search Crypto Craft
- 100 Results (12 Threads, 88 Replies)
- Omniferum replied Jul 11, 2008
Thought it would help if I posted the indicator that required editing
Tricky Stochastic
- Omniferum replied Jul 10, 2008
Thanks for the suggestion howdytest but if it that code actually works I can't get it to
Tricky Stochastic
- Omniferum replied Jul 10, 2008
Found a previous thread requesting pretty much the exact same thing url nothing in it usable though
It is codable though, which is the more important partTricky Stochastic
-
Tricky Stochastic
Started Jul 10, 2008|Platform Tech|8 repliesThen again it might not be, I can't make it work however. Would anyone know how to code a ...
-
Adding Parabolic troubles
Started Jul 7, 2008|Platform Tech|0 repliesWhoopsie, solved my own problem
- Omniferum replied Jul 4, 2008
i'd have to type in every single time frame though, I only want the visual aid for backtesting
Requesting programmer assistance with custom indicator
- Omniferum replied Jul 4, 2008
Another quick question is does anybody know of the existence of a time period section highlighting sort of indicator? i.e. if I want to see the trade for every first friday of the month or only between tue-thur Doesn't have to really give me any ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jul 4, 2008
as for adding the ibarshift thing I sorta gave up and felt it just easier if I duplicate the indicator, give different style signals for different time frames so I could distinguish them and tell metatrader to show the required indicator for that ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jul 4, 2008
I'm trying to add parabolic SAR and I borrowed the code from another thread double sar1 = iSAR(NULL, time_frame_for_signal, psar, max, 0); double cl1 = iClose(NULL, 0, 0); double sar2 = iSAR(NULL, time_frame_for_signal, psar, max, 1); double cl2 = ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jun 29, 2008
int start() { int i,imax,counted_bars=IndicatorCounted(); double ao1,ac1,ao2,ac2,sm1,ss1,sm2,ss2; if(counted_bars>0) imax=Bars-IndicatorCounted(); else imax=Bars-1; datetime some_time=Time[i] int shift=iBarShift(NULL,PERIOD_H4,some_time); ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jun 29, 2008
datetime some_time=Time[i] int shift=iBarShift(NULL,PERIOD_H4,some_time); Print("shift of bar with open time ",TimeToStr(some_time)," is ",shift); Getting a 'shift variable not defined' error. Again I admit to complete ignorance and please be aware ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jun 29, 2008
Well obviously i'd prefer the simple method datetime some_time=D'2004.03.21 12:00'; int shift=iBarShift("EUROUSD",PERIOD_M1,some_time); Print("shift of bar with open time ",TimeToStr(some_time)," is ",shift); So I can just use this? Obviously it ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jun 29, 2008
Ok well I believe that int i,imax,counted_bars=IndicatorCounted(); double ao1,ac1,ao2,ac2,sm1,ss1,sm2,ss2; if(counted_bars>0) imax=Bars-IndicatorCounted(); else imax=Bars-1; for(i=imax;i>=0;i--) needs to be replaced with datetime TimeArray[]; int ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jun 29, 2008
I don't suppose anyone could help me out in where the ibarshift has to be declared first and then what it has to be applied to? I would assume it has to apply to the signal when painted however it could just as easily be attached to all the minor ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jun 27, 2008
For reference sake i'm trying to code for whenever the stochastic crosses the 0 line ((sm1>ss1&&sm2<ss2) || sm1==0) is about as far as i've gotten but no cigar. It needs to refer to a previous higher value obviously, going to hunt for a stochastic ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jun 27, 2008
Another question is for the multi time frame code would one only get the latest signal represented in a higher time frame? i.e. would the latest 30m signal be represented in the 4h chart or would it draw all over one another? From 4h to 30m i'm sure ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jun 27, 2008
Well i've found this piece of code which is supposed to help me but to be honest I have no idea how to implement it. Anybody care to point that out? Is it declared for each signal? I assume there has to be a declared value at the beginning of the ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jun 27, 2008
Nope, sorry my bad I just came to understand that the entire statement there is purely for WHERE the signal is painted. -Offset value (10 in this case) from the iLow of the bar Heh, only reason why I post this is because if anyone else is curious as ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jun 27, 2008
Thanks again Davel, as always you've been awesome Hopefully there are other programmers here that would help me out. Making this an MTF, anyone point me in the right direction? I understand the ibarshift and period setting just no idea where to put ...
Requesting programmer assistance with custom indicator
- Omniferum replied Jun 27, 2008
Um... Now it's degenerated into this What the hell did I do? I even reverted the code back to it's original after that simple colour add for the histogram draw and restarted the program, deleted indicator and re-put it in
Requesting programmer assistance with custom indicator