![]() |
|
||||
|
Gaz, you can get current bar value:
double r0 = iCustom(Symbol(), Period(), "SuperSR7", SR_Step, SR_Precision, SR_Shift, 300, 0, 0); double s0 = iCustom(Symbol(), Period(), "SuperSR7", SR_Step, SR_Precision, SR_Shift, 300, 1, 0); r0 is current resistance, and s0 is current support To get previous bar: double r1 = iCustom(Symbol(), Period(), "SuperSR7", SR_Step, SR_Precision, SR_Shift, 300, 0, 1); double s1 = iCustom(Symbol(), Period(), "SuperSR7", SR_Step, SR_Precision, SR_Shift, 300, 1, 1); r1 is previous resistance and s1 is previous support. |
| The following users have thanked scorpion for useful post above: | ||
|
||||
|
Thanks, I'll check it out sometime soon (maybe this weekend). Hopefully this will help as I know the only reason DLM is failing with S&R is because of its consistent change and false signals
__________________
____________________________\¦/ ___________________________(ò ó) ______________________o0o___(_)___o0o__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ |
|
||||
|
Scorpion, I put the code in there but when I hit compile it didnt recognize the parts SR_Step, SR_Precision, SR_Shift so it didnt want to compile, but if I remove them it wont work...
Any suggestions? Here is the original part of the code to modify: Code:
Code:
I attached the full expert at the bottom of this un-modified
__________________
____________________________\¦/ ___________________________(ò ó) ______________________o0o___(_)___o0o__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ Last edited by gazuz : 10-21-2006 at 08:37 PM. |
|
||||
|
Alright I have one last question with the code
it says Code:
Please let me know whenever you have time
__________________
____________________________\¦/ ___________________________(ò ó) ______________________o0o___(_)___o0o__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ |
|
||||
|
Well that turns it into a scalper which I actually don't mind at all. I know how to make it into the + and - pips though is to change the > and the < into just equal signs. Now whenever the price is over the resistance it keeps buying and whenever under it keeps selling until the price goes back between the support and resistance
__________________
____________________________\¦/ ___________________________(ò ó) ______________________o0o___(_)___o0o__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ |
|
||||
|
no I mean if the price is over the resistance it will keep buying after every cycle of the DLM is over, usually it only does one trade per cross then ti does whatever the DLM has to do.. but here it keeps going until it crosses back into between the support and resistance.
__________________
____________________________\¦/ ___________________________(ò ó) ______________________o0o___(_)___o0o__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ ___¦_____¦_____¦_____¦_____¦_____¦_____¦ ¦_____¦_____¦_____¦_____¦_____¦_____¦__ |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Super Ea | AQUILEZ | Trading Systems | 142 | 09-24-2008 01:25 PM |
| Astro traders... | ttt123 | General Trading Talk | 37 | 08-03-2006 04:07 AM |
| Support and Resistance Expert Advisor | suffic369 | Classified Ads | 2 | 07-03-2006 06:57 AM |
All times are GMT. The time now is 01:41 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now










Linear Mode

