| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Can you help me adapt an indicator https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4360 |
Page 1 of 1 |
| Author: | saunga2nd3 [ Tue Jul 21, 2015 2:41 am ] |
| Post subject: | Can you help me adapt an indicator |
Hello everyone, I'm trying to test the FastTMALines on off-line charts (15-30 seconds) and hopefully test an idea with an EA. I'm just learning how to code but does anybody know how to change the indicator to plot the lines multi-time-frame mode on off-line charts? I'm able to use the indicator on time-frame "0" or "current" on aforementioned off-line charts but other time-frames either don't plot correctly or don't draw at all. For example, say I want to plot 1minute TMA on a 30 second off-line chart, it doesn't work. I know mql4 has some issues with off-line charts and it's not something they support that much as the transition to mql5 continues on. Metratrader 5 does not support it at all. I realize the indicator was not designed for it and needs to be adjusted, so I'm wondering how to go about this. Can you help me? Indicator and tick charts are included. |
|
| Author: | saunga2nd3 [ Sun Jul 26, 2015 1:54 am ] |
| Post subject: | Can you help me adapt an indicator |
When I said I was testing Tma on offline-charts was not to use the indicator as a trading signal alone. I adapted another indicator to do what the previous post requests but I'm having trouble with staircase effect on the line. I'm using imaonarray() function to average the average and it works but it's just too slow calculating on smaller time-frames. Can anybody help me to figure out what's wrong with this code and how to make it faster? Code: Select all |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|