- Search Energy EXCH
- 39 Results (1 Threads, 38 Replies)
- Codix replied Nov 4, 2015
Hello Honestknave, It seems i've run into another problem again.You've told me that you've used the icustom() function in indicators that use multi-timeframes and symbols so perhaps you can enlighten me once again. The problem is as follows: I am ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 4, 2015
hi honestknave, When i remove the IndicatorCounted() part the problem still persists. But since you (or anyone else for that matter) doesen't know what the error "Indicator on custom buffer is not supported yet" means, i take it the predefined ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 4, 2015
Please look at the screenshot: I get the error: "Indicator on custom buffer is not supported yet". This is what i get when i add the line Print(ADXBuffer[i]); to the for(i=0; i<limit; i++){ ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 4, 2015
haha, i'm so sorry. Offcourse the printed values remain the same as long as the bar doesen't change. I haden't slept very well yesterday night so i really thought that i was looking at some sort of error. About the ADX function: You say that i ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 4, 2015
the code to make it stop should look something like this: if ((Close[] >=BB1) && (AlertPlayedonBar != Bars)) | ((Close[] <=BB2) && (AlertPlayedonBar1 != Bars)) { Alert("bb hit!"); AlertPlayedonBar = Bars;} This way the indicators alerts only once ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 4, 2015
upload the .mq4 file so people can take a look at the code
I will code your EAs and Indicators for no charge
- Codix replied Nov 3, 2015
i know its not a buffer. I know it gets overwritten. After the Print command has printed the value in the Experts tab the value may be overwritten by the value of the next cycle. The same goes for BufferALL[1]. What i'm asking is, why don't the ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 3, 2015
No the loop cycles through the different timeframes. Take a closer look at the timeperiod parameter of icustom, it is filled with the array Timeframe[i][0]. The [0] element contains the period value for each new iteration. There are 6 periods and ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 3, 2015
Correct. I've noticed that too, and not only that but when you change symbols per loop iteration it initializes all the 22 indicators for that new symbol as well. So eventually there would be 216x22 = 4752 instances of the 22 indicators running in ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 3, 2015
"But if you are using iCustom you don't normally need to do any loops. ". The i=limit loops are inside the custom indicator not inside the scanner indicator. Anyway, i tried to internalize a custom indicator inside a scanner indicator and it ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 3, 2015
Yes, but on initialization of the called indicator it still calculates all the values for all the bars in the chart of the symbol BEFORE returning you those 3 values. When you're only interested in those 3 values woulden't the indicator ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 2, 2015
Hi, Well... i finally managed to get this scanner to work. I've turned the indi into an EA and i attached the EA to an offline chart that has a perpetual fake tick generating script attached to it. Why an EA you might ask? Because the Start() event ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 2, 2015
why would i have to restart the terminal regularly? In the OnTimer function (which is set to 500ms) it processes one symbol at a every interval. It works fine when i only let it process EURUSD. Goes through the 6 timeframes smoothly and analyzes ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 2, 2015
Hello Cyber1, I already told you. My indicator chokes mt4 when it is busy to run int start() for symbol A that started upon tick A and suddenly has to start int start() for symbol B because tick B has arrived. I've added my scan indicator as a ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 1, 2015
could you please be more specific??? Are you trying to convey that i diden't use the OnTimer() handler properly?
I will code your EAs and Indicators for no charge
- Codix replied Nov 1, 2015
hi Cyber1, I am making an indicator that scans multiple symbols successively with multiple other indicators. I used to call those indicators externally using Icustom() but that caused the terminal to choke on all the indicatorbuffer copies generated ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 1, 2015
I assume i have to attach this to an OFFLINE chart right? Regards,
EA to collect data each millisecond , not just when Ticks occur
- Codix replied Nov 1, 2015
just an update: when i replace the eventhandler OnTimer() with int start() the internal function no longer returns 1861152494,0667 on every timeframe. The values don't exactly match those of the external adx indicator but they come close enough plus ...
I will code your EAs and Indicators for no charge
- Codix replied Nov 1, 2015
Hello, I have a problem that is related to coding, but i since i'm a junior member i am not allowed to start my own thread about it. So perhaps someone here can help me out. The problem concerns the following: I've found out that using the iCustom() ...
I will code your EAs and Indicators for no charge