Comment as coded: sComment = sComment + "STOCHASTIC VALUE " + DoubleToStr(sto1,4) + NL;[/PHP] [PHP]double sto1=iStochastic(NULL,0,K,D,SL,MODE_SMA,0,MODE_MAIN,0); The program reads the sto1 value and plots it on the graph and uses the value to buy or
This is a regression channel program I came across. I have an idea that would help people filter out trend versus sideways markets. If the program could be modified to manually adjust the deviation from center line and incorporate an angle degree of
I keep many notes on coding. I do not have one to code this properly. I have researched string and others . . . to no avail. Please help! if(tradedirection==1) TD="UP"; Dave <<< Thanks in advance
My brain just went blank this morning. In EA's I normally compare one indicator against another. For the likes of me I tried a few minutes ago to code to see if the moving average of the indicator is greater than the ask of the current bar
Using an old indicator Bands, I would like it if the currency touches the upper band to change the upper band from Cyan to Red, and when the currency no longer touches the upper band, it turns back to Cyan. Also, if the currency touches the bottom
It has about flatlined and rolled over and died. None of the EA's or manual trading is doing much good this week. Oh well, hopefully next week will be better??? Dave
Can somebody create for me a script that I drag over a graph to activate a trailing stop to eliminate key strokes by the conventional way?? Your contribution would be highly appreciated! I tried and failed! Dave
#property indicator_level1 = 0.00024 On the graph when I activate the indicator it rounds out the level to 0.0002 instead of 0.00024 (which I desire). Likewise 0.00025 rounds out to 0.0003. How can I get this property level not to round off??? (Keep
I know how to do alarms for EA's, but not for indicators. Could you please look at this indicator and create a visual and audible alert to buy or sell when the color of the line changes. This indicator reads the results from another indicator, so I
I have made notes as I have learned the hows on coding. I am sharing them with the forum. Please add additional examples to programming different things in a indicator or EA to this thread. To view the different modules, you will have to have
I have a lot of trial and error experience in programming MT4 now. From time to time I have questions on programming statements. It would be a big help if I could talk to someone on an issue from time to time locally . Is there anyone in the Houston
iLow(NULL,0,Lowest(NULL,0,MODE_LOW,0,1)) < iLow(NULL,0,Lowest(NULL,0,MODE_LOW,1,1)) I am trying to compare the lowest of the current bar lowest to the lowest of the bar that is 1 bar back. I am confused as to what goes after the MODE_LOW in the
Help me code this so that the middle moving average is eliminated, and also make the outside bands one step thicker in width. Your help is really appreciated! I attached the Bands indicator for you to modify. Thanks a bunch!! Dave <<<