| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| help with arrow-based indicator https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3607 |
Page 1 of 1 |
| Author: | basch312 [ Wed May 07, 2014 12:40 pm ] |
| Post subject: | help with arrow-based indicator |
hi all, I want to write an indicator which prints 3 different types of signals, each signal can be up or down and I don't know how to do that. I know how to make an indicator that prints an Up arrow if some conditions are met and down if the complementary conditions are met. Here's is the main code that I use to write that kind of indicators with only 1 type of signal: Code: Select all Regards! Adrian |
|
| Author: | milanese [ Wed May 07, 2014 12:44 pm ] |
| Post subject: | help with arrow-based indicator |
Hi Adrain, could you more specify, where exactly your problem is? Cheers Tommaso |
|
| Author: | basch312 [ Wed May 07, 2014 1:05 pm ] |
| Post subject: | help with arrow-based indicator |
Hi tommaso the omnipresent!! what I want to do is, instead of: - if(cond1) arrowUp - if(!cond1) arrowDown this: - if(cond1) yellowArrowUp - if(!cond1) yellowArrowDown - if(cond2) greenArrowUp - if(!cond2) greenArrowDown - if(cond3) redArrrowUp - if(!cond3) redArrowDown I've tried to do this through the code I posted what it doesn't work properly, and I haven't been able to find a solution anywhere Thank you for your time Adrian |
|
| Author: | milanese [ Wed May 07, 2014 1:14 pm ] |
| Post subject: | help with arrow-based indicator |
Hi Adrain you need to change Code: Select all Cheers Tommaso |
|
| Author: | basch312 [ Wed May 07, 2014 1:24 pm ] |
| Post subject: | help with arrow-based indicator |
okeey, I'll try it and tell you if I can get it to work. I feel like a fool right now... Regards! Adrian EDIT: well, that worked perfectly. Thank you very much! |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|