Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
The program reads the sto1 value and plots it on the graph and uses the value to buy or sell, but the sComment does not read sto1 and only displays a of 0.0000?
I am stumped! Any reasoning why the scomment will not read the sto1??
Dave, coded in the right order, this works.
Are you sure the sto1 variable is assigned a value before using it in the comment assignment?
(So, not the order you are showing in your posting....)
To check the sto1 value, include a Print(sto1) statement, to make its actual value showup in the Journal logging.
__________________ Better being out wishing to be in, than being in wishing to be out.....
Print statement on sto1 reads perfectly, but sComment statement fails to comment properly? I am going to redo the variable and the sComment statement.
Dave
Guess there is a bug in metatrader platform. Contacting metagroup.net to tell them about it. It has something to do with iStochastic and why it will not read and display on the graph as a comment but will print. I re-did the formula and change sto1 to stoch with no change on comment display.
It just started working after I repositioned the code in the sComment section. Maybe it had something to do with how my computer was acting recently. It crashed this morning. I had to reformat the harddrive. At least my program, indicators and knowledge base was backed up on a memory stick - Those things are great! Now on to bigger things! Thanks for all your help!