stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Baluda Indicators
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=629
Page 39 of 81
Author:  NeoTrader [ Thu Sep 13, 2012 7:51 pm ]
Post subject:  Re: Baluda Indicators

hi jasonckb,
jasonckb wrote:Maybe I have missed something at the very beginning, but would u mind telling me why the 21 days MA are of different readings in daily/H4/H1 chart regarding your TMA slope MTF
the MA is based on the TMAslope not the Price...you have different slopes on the different TFs so the MA is also different.

hope this helps,

happy trading,

NeoTrader

-
Author:  jasonckb [ Thu Sep 13, 2012 11:45 pm ]
Post subject:  Re: Baluda Indicators

NeoTrader wrote:hi jasonckb,
jasonckb wrote:Maybe I have missed something at the very beginning, but would u mind telling me why the 21 days MA are of different readings in daily/H4/H1 chart regarding your TMA slope MTF
the MA is based on the TMAslope not the Price...you have different slopes on the different TFs so the MA is also different.

hope this helps,

happy trading,

NeoTrader

-
But the MA timeframe is D1, it should be a 21 D MA rather than 21 period average and thus like the D1 slope which is time frame independent.....Do I get it wrong.....? :roll:
Author:  Baluda [ Fri Sep 14, 2012 7:16 am ]
Post subject:  Re: Baluda Indicators

jasonckb wrote: But the MA timeframe is D1, it should be a 21 D MA rather than 21 period average and thus like the D1 slope which is time frame independent.
Jackson,

The MA in the indicator is weighed on every candle. Since each timeframe has a different number of candles per day the MA is different. (There are 6 H4 candles in a day, therefore the MA is weighed 6 times.)

This is a 'happy accident' in 'TMA Slope MTF' because I particularly like the MA on the H4 charts. But I'll see what I can do for the next version.

Paul
Author:  jasonckb [ Fri Sep 14, 2012 8:06 am ]
Post subject:  Re: Baluda Indicators

Baluda wrote:
jasonckb wrote: But the MA timeframe is D1, it should be a 21 D MA rather than 21 period average and thus like the D1 slope which is time frame independent.
Jackson,

The MA in the indicator is weighed on every candle. Since each timeframe has a different number of candles per day the MA is different. (There are 6 H4 candles in a day, therefore the MA is weighed 6 times.)

This is a 'happy accident' in 'TMA Slope MTF' because I particularly like the MA on the H4 charts. But I'll see what I can do for the next version.

Paul
Thx Paul for your prompt reply :D IMHO, I think using a steady D1 slope in comparing with the D1 value is a good screening signal for bad trade that entering a trade at the very end of a rally or even act as an exit point for a winning position. In that sense, you can consider to have it time -independent which will be more consistent (eg . by using a fixed 24x H1<--- I have no idea about coding :mrgreen: )
Author:  theforexedge [ Fri Sep 14, 2012 2:18 pm ]
Post subject:  Re: Baluda Indicators

Baluda

Is it possible to add the ability to change the Font in Currency Slope Strength - v1.0.3

I'd also like the option to have just Black & White colours for currency example EURUSD - EUR (black) & USD (white)

Thanks, Jason
Author:  rebeljedi [ Fri Sep 14, 2012 7:46 pm ]
Post subject:  Currency Slope Strength v1.0.3

I have absolutely no clue why AUD value is different in AUDUSD chart.

I have downloaded a new IBFXAU Empty4 platform and applied the ForceHistoricalData script (all loaded successfully) and the result is AUD value in AUDUSD chart is always different from other AUD pairs (e.g. AUDJPY, EURAUD).

Enclosed are 3 charts - AUDUSD, AUDJPY, EURAUD (All in same timeframe, same Currency Slope Strength indicator settings).
You will see that:
AUD = -0.43 in AUDJPY and EURAUD charts but
AUD = 0.20 in AUDUSD chart??

Any other ideas what need to be done? Any help is appreciated.
Author:  gaheitman [ Sat Sep 15, 2012 3:52 am ]
Post subject:  Re: Currency Slope Strength v1.0.3

rebeljedi wrote:I have absolutely no clue why AUD value is different in AUDUSD chart.

I have downloaded a new IBFXAU Empty4 platform and applied the ForceHistoricalData script (all loaded successfully) and the result is AUD value in AUDUSD chart is always different from other AUD pairs (e.g. AUDJPY, EURAUD).

Enclosed are 3 charts - AUDUSD, AUDJPY, EURAUD (All in same timeframe, same Currency Slope Strength indicator settings).
You will see that:
AUD = -0.43 in AUDJPY and EURAUD charts but
AUD = 0.20 in AUDUSD chart??

Any other ideas what need to be done? Any help is appreciated.
I think there is a defect in the code that strips out the pairs when showOnlySymbolOnChart = true. The code is supposed to check all currencies in the symbolsToWeigh list and make sure at least one of the pairs matches one of the pairs on the current chart. The current code:

Code: Select all

   // Kill unwanted symbols from array
   if ( showOnlySymbolOnChart )
   {
      symbolCount = ArraySize(symbolNames);
      string tempNames[];
      for ( i = 0; i < symbolCount; i++ )
      {
         for ( int j = 0; j < CURRENCYCOUNT; j++ )
         {
            if ( StringFind( Symbol(), currencyNames[j] ) == -1 )
            {
               break;
            }
            if ( StringFind( symbolNames[i], currencyNames[j] ) != -1 )
            {  
               size = ArraySize( tempNames );
               ArrayResize( tempNames, size + 1 );
               tempNames[size] = symbolNames[i];
               break;
            }
         }
      }
      for ( i = 0; i < ArraySize( tempNames ); i++ )
      {
         ArrayResize( symbolNames, i + 1 );
         symbolNames[i] = tempNames[i];
      }
   }
The first "break" should actually be a "continue". The "break" drops us out of the for loop entirely, we really just want to skip the rest of the code inside the for loop and come back through checking the next value from currencyNames.

George
Author:  Baluda [ Sat Sep 15, 2012 7:52 am ]
Post subject:  Re: Currency Slope Strength v1.0.3

gaheitman wrote:The first "break" should actually be a "continue". The "break" drops us out of the for loop entirely, we really just want to skip the rest of the code inside the for loop and come back through checking the next value from currencyNames.
George,

Good catch!

I doubt however, if this bug is the cause of the problem decribed. This 'break' is only there to check if the user has a chart with symbol that isn't in the array at all. (GOLD, USDSGD etc.)

Will provide a fix in the next release.

Paul
Author:  gaheitman [ Sat Sep 15, 2012 11:12 am ]
Post subject:  Re: Currency Slope Strength v1.0.3

Baluda wrote:
gaheitman wrote:The first "break" should actually be a "continue". The "break" drops us out of the for loop entirely, we really just want to skip the rest of the code inside the for loop and come back through checking the next value from currencyNames.
George,

Good catch!

I doubt however, if this bug is the cause of the problem decribed. This 'break' is only there to check if the user has a chart with symbol that isn't in the array at all. (GOLD, USDSGD etc.)

Will provide a fix in the next release.

Paul
I think you'll find this is the problem. After making the change, currency slope values are now consistent across currencies and give the same results as when showOnlySymbolOnChart=false.

George
Author:  4xPIPAHOLIC [ Sat Sep 15, 2012 3:03 pm ]
Post subject:  Re: Baluda Indicators

Baluda wrote:New version CurrencySlopeStrength, v1.0.3, in post 1.
CurrencySlopeStrength, screen X.png
Changes:
  • Added background indicator when showOnlySymbolOnChart = true. A difference treshold determines when background is shown.
  • Optimized table placement and painting.
Enjoy,

Paul

Baluda.....love your indicators .....especially CurrencySlopeStrength, v1.0.3......amazing!

Very valuable , Thank you!
All times are UTC Page 39 of 81