Re: Coding Help

1482
mrtools wrote: Sat May 27, 2023 3:39 am Imagine this putting it on a gold chart and trying to get silver completely different chart value. Can fix it all day and it won't work. Try it on USDJPY chart to get EURUSD. Please prove me wrong!!!
Yes Sir ,
It is tricky where to use it.one hint is try to use it on opposite currency or adjust it with time frame.
Thank you very much sir.
Complexity Is The Enemy Of Execution

Re: Coding Help

1483
Hello, and Good Saturday Morning to Everybody here.

Please I need some help.

Given my total lack of knowledge about coding.
Somebody can help me and add the set of alerts (alert, sound, message, push) to this indicator, please?

And everything else added will be incredibly appreciated too!

Good weekend to all of you and your Families.
From the domains of my desk and laptop Full of Porn and Charts I call upon the Spiritual Presence and Power of Richard Wyckoff, Jesse Livermore, George Soros and all the Wise in Volume and Standard Deviation to enlighten and make everyone get off their asses and go to study Market Structure, Liquidity Pools and Volume.

Selah

Re: Coding Help

1484
kkfx wrote: Thu May 25, 2023 3:28 pm Hello,
Can anybody show me the buffer values of this G Channel indicator for trend detection showing the color of central band?
Also what value one places to use multi timeframe function within the indicator?

I am using iCustom function to use this ex4 indicator file.. Is the buffer no9 for trend detection?

iCustom(NULL,0,"! G Channel (mtf + alerts + arrows + candles + btn)",0,0,"gc b1",200,0,0,true,2,clrRed,clrLime,true,1,3,3,6,clrMediumSeaGreen,clrOrangeRed,clrDimGray,false,false,false,false,false,false,false,2,2,10,10,1.0.1.0,clrDodgerBlue,clrSandyBrown,true,0,1,35,35,80,22,"Arial",10,clrBlack,clrDimGray,clrLime,"G Chan",9,0);
If the author of the indicator who published this modification of G channel keeps the code secret and not reveal the trend buffer, then it cant be used for making an EA...wonder whats the purpose of writing this indicator when the author cant show how this indicator can be used in an EA.

Re: Coding Help

1485
kkfx wrote: Mon May 29, 2023 5:48 pm If the author of the indicator who published this modification of G channel keeps the code secret and not reveal the trend buffer, then it cant be used for making an EA...wonder whats the purpose of writing this indicator when the author cant show how this indicator can be used in an EA.
The code for the version, (posting now) I have the trend buffer is 14. Will the EA be shared with the community here when completed?


Re: Coding Help

1486
mrtools wrote: Tue May 30, 2023 2:50 am The code for the version, (posting now) I have the trend buffer is 14. Will the EA be shared with the community here when completed?
Thank you... what value do you put for it?
If this one is okay?

longTrend= iCustom(NULL,0,"! G Channel (mtf + alerts + arrows + candles + btn)",0,0,"gc b1",200,0,0,true,2,clrRed,clrLime,true,1,3,3,6,clrMediumSeaGreen,clrOrangeRed,clrDimGray,false,false,false,false,false,false,false,2,2,10,10,1.0.1.0,clrDodgerBlue,clrSandyBrown,true,0,1,35,35,80,22,"Arial",10,clrBlack,clrDimGray,clrLime,"G Chan",14,0)==1;
and -1 for shorts?

What value do you put to use MTF reference?

sure, will share my EA and code once done....

Re: Coding Help

1487
Could someone code Two Rsi Histogram without smoothing,Regular Rsi changing color on zero cross not on slope change?
Complexity Is The Enemy Of Execution

Re: Coding Help

1488
alpha24 wrote: Fri Jun 02, 2023 3:50 am Could someone code Two Rsi Histogram without smoothing,Regular Rsi changing color on zero cross not on slope change?
I think rsi can never be 0 ( if its not shifted), you mean about 50 level cross? When both rsi cross 50 level, uptrend/downtrend?

Re: Coding Help

1490
kkfx wrote: Thu Jun 01, 2023 8:15 pm Thank you... what value do you put for it?
If this one is okay?

longTrend= iCustom(NULL,0,"! G Channel (mtf + alerts + arrows + candles + btn)",0,0,"gc b1",200,0,0,true,2,clrRed,clrLime,true,1,3,3,6,clrMediumSeaGreen,clrOrangeRed,clrDimGray,false,false,false,false,false,false,false,2,2,10,10,1.0.1.0,clrDodgerBlue,clrSandyBrown,true,0,1,35,35,80,22,"Arial",10,clrBlack,clrDimGray,clrLime,"G Chan",14,0)==1;
and -1 for shorts?

What value do you put to use MTF reference?

sure, will share my EA and code once done....
Nothing if you don't want to use it in a mtf way otherwise you can put a time frame you want or maybe something like

for external parameters

Code: Select all

input int barsToUse = 1;
enum enTimeFrames
{
         tf_cu  = 0,                                               // Current time frame
         tf_m1  = PERIOD_M1,                                       // 1 minute
         tf_m5  = PERIOD_M5,                                       // 5 minutes
         tf_m15 = PERIOD_M15,                                      // 15 minutes
         tf_m30 = PERIOD_M30,                                      // 30 minutes
         tf_h1  = PERIOD_H1,                                       // 1 hour
         tf_h4  = PERIOD_H4,                                       // 4 hours
         tf_d1  = PERIOD_D1,                                       // Daily
         tf_w1  = PERIOD_W1,                                       // Weekly
         tf_mn1 = PERIOD_MN1,                                      // Monthly
         tf_n1  = -1,                                              // First higher time frame
         tf_n2  = -2,                                              // Second higher time frame
         tf_n3  = -3                                               // Third higher time frame
      };
input enTimeFrames            inpTimeFrame     = tf_cu;            // Time frame to use 
and for indicator call

Code: Select all

longTrend= iCustom(NULL,0,"! G Channel (mtf + alerts + arrows + candles + btn)",[b]inpTimeFrame[/b],"gc b1",200,0,0,true,2,clrRed,clrLime,true,1,3,3,6,clrMediumSeaGreen,clrOrangeRed,clrDimGray,false,false,false,false,false,false,false,2,2,10,10,1.0.1.0,clrDodgerBlue,clrSandyBrown,true,0,1,35,35,80,22,"Arial",10,clrBlack,clrDimGray,clrLime,"G Chan",14,barsToUse)


To be honest haven't done an EA this way but it should work.


Who is online

Users browsing this forum: Bing [Bot], ChatGPT [Bot], CommonCrawl [Bot] and 3 guests