.


Re: Coding help ...

#742
Hi
Im trying to make the background for the 15 min a specific color and then go back to another color for all other timeframes.
Can someone help?
Thanks.


//+------------------------------------------------------------------+
//| background.mq4 |
//| Copyright 2018, MetaQuotes Software Corp. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#property indicator_chart_window

int start()
{
color clr;

if (PERIOD_M15) clr = LavenderBlush;
else clr = Black;

ChartSetInteger( 0, CHART_COLOR_BACKGROUND, clr );

return (0);
}

Re: Coding help ...

#744
Dear Mladen and Mrtools
I am going to make price smooth in this way
case pr_smoothprice:
if (close>open)
return((open+low)/2.0);
if (close<open)
return((open-low)/2.0);

Problem arises that the price became very sensitive.
will you please help me to lag the results
"Nature abhors a vacuum."

Re: Coding help ...

#745
yamahaqs300 wrote:
Mon May 28, 2018 3:45 am
Hi ! I need some help . I want to use in EA a Moving Average with Level . I don`t need the MA buffer in EA ,I need buffers for levels . I search all internet...and no MA with buffers on level :( .Who can help me ? Thanks
Maybe something like this one? They are a kind of dynamic levels.
Attachments
non lag ma(mtf + alerts + arrows + levels).ex4
(58.03 KiB) Downloaded 85 times
nlm levels.png
https://www.myfxbook.com/portfolio/mt4-3698932/2630476


Re: Coding help ...

#748
TEAMTRADER wrote:
Mon Jun 04, 2018 9:00 pm
Would someone look at this and see why it does not show the stochastics 'line' on the chart please?
Thanks
TEAMTRADER
Hello TEAMTRADER ,
it does show on chart , you can see it if you shrink your chart to include lower values!.
GBPJPYH1_TEAMTRADER_stoch.png
GBPJPYH1_TEAMTRADER_stoch.png (9.83 KiB) Viewed 348 times

Re: Coding help ...

#749
Xronos__ wrote:
Mon Jun 04, 2018 9:21 pm
TEAMTRADER wrote:
Mon Jun 04, 2018 9:00 pm
Would someone look at this and see why it does not show the stochastics 'line' on the chart please?
Thanks
TEAMTRADER
Hello TEAMTRADER ,
it does show on chart , you can see it if you shrink your chart to include lower values!.

GBPJPYH1_TEAMTRADER_stoch.png
So in other words it will not work as it was intended to work by superimposing it over the prices.
Pity.
Thanks
TEAMTRADER


Who is online

Users browsing this forum: No registered users and 1 guest