Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

I will Develop your Indicator or Strategy for FREE

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Harry
    replied
    Originally posted by traderjh View Post
    Hello!

    Can you help me to accomplish getting the right prices from 2nd and 3rd timeframes? I attached this simple "Show and tell" strategy file here. This strategy gets the prices from only primary timeframe. I couldn't figure out what is right way to get 2nd & 3rd TF prices. I will appreciate your expertise!

    Code:
    StrategyPlot(0).Value.Set(WMA(4)[0]);
    StrategyPlot(1).Value.Set(WMA(BarsArray[1], 4)[0]);
    StrategyPlot(2).Value.Set(WMA(BarsArray[2], 4)[0]);

    wave0 = (WMA(Closes[0],4)[0]);
    wave1 = (WMA(Closes[0],4)[1]);
    wave2 = (WMA(Closes[0],4)[2]);
    end of code

    These lines get same price from primary timeframe. See full code in attached file.

    Let me know if you need clarification.

    Many thanks!
    -traderjh
    Try:

    Code:
    wave0 = (WMA(Closes[0],4)[0]);
    wave1 = (WMA(Closes[1],4)[0]);
    wave2 = (WMA(Closes[2],4)[0]);

    Leave a comment:


  • SnakeEYE
    replied
    Hi folks,

    could anyone please help me to write a simple indicator from this line:

    if(Trend[0] && Trend[1] && Price[0] - Price[1] > Price[1] - Price[2])

    and draw a text marker above the price when it meets this creteria.

    thanks

    Leave a comment:


  • traderjh
    replied
    Get right prices from 2nd and 3rd timeframes

    Hello!

    Can you help me to accomplish getting the right prices from 2nd and 3rd timeframes? I attached this simple "Show and tell" strategy file here. This strategy gets the prices from only primary timeframe. I couldn't figure out what is right way to get 2nd & 3rd TF prices. I will appreciate your expertise!

    Code:
    StrategyPlot(0).Value.Set(WMA(4)[0]);
    StrategyPlot(1).Value.Set(WMA(BarsArray[1], 4)[0]);
    StrategyPlot(2).Value.Set(WMA(BarsArray[2], 4)[0]);

    wave0 = (WMA(Closes[0],4)[0]);
    wave1 = (WMA(Closes[0],4)[1]);
    wave2 = (WMA(Closes[0],4)[2]);
    end of code

    These lines get same price from primary timeframe. See full code in attached file.

    Let me know if you need clarification.

    Many thanks!
    -traderjh
    Attached Files

    Leave a comment:


  • SnakeEYE
    replied
    Could anyone help with adding an audible alert to the pivot line(above/below) within this indicator?
    Attached Files

    Leave a comment:


  • SnakeEYE
    replied
    Howdy lazy ar$$eS !

    I have a challenge for the so called pros.If any real pro outthere,then it shouldn`t be a problem to re-write the attached typebars code in a way that the close and the open will be matched without a single tick gap.Let`s see what happens.Pop corn,please...
    Attached Files

    Leave a comment:


  • FxInception
    replied
    Need a help with indicator template

    Hello there,


    Could someone assist me please with creating an indicator, which I would be able to adjust myself later on.

    Simple logic:

    if (high-close) > (high-open), than X = 10 and Y = 20

    if (high-close) <= (high-open), than X = 30 and Y = 40

    I will have about 10 "if" like these, which gonna produce different outcomes for X and Y. The conditions would be done the way that each bar would not have more than one "if", so X and Y will not be mixed up.

    A principle of indictor must be similar to Data Box. So, when I move a cursor, there must be shown a unique outcomes for each particular bar. Finally, I would like to see something like this in the right top corner: "X = 30 ; Y = 40".

    I will highly appreciate somebody's help.


    All the best,
    Arthur

    Leave a comment:


  • FxInception
    replied
    Thanks a lot, much appreciate your help!

    Leave a comment:


  • NinjaTrader_Bertrand
    replied
    Arthur, you could do something like this -

    DrawTriangleUp("High"+barcounter.ToString(), true, period, High[period] + 5 * TickSize, color);

    Leave a comment:


  • FxInception
    replied
    Ticks away from high/low

    Hello there,


    Could anyone help me please a little... What should I add to a code of Fractal indicator to make it plotting drawing objects a particular number of ticks away from high/low?

    Here is a part of code:

    if(Lvls>=period*2)
    {
    // "☼"
    // DrawText("High"+barcounter.ToString(), true, High[period].ToString(".0000"), period, High[period], 10, color, textFont, StringAlignment.Center, Color.Transparent, Color.Transparent, 0);

    DrawTriangleUp("High"+barcounter.ToString(), true, period, High[period], color);
    }
    #endregion


    It should be like "high" + 5 ticks in this example, but I don't know how to write it correctly to make it work.

    Many thanks,
    Arthur

    Leave a comment:


  • SnakeEYE
    replied
    Originally posted by neilzep View Post
    sold them on ebay.
    :d:d:droflmfao:d:d:d

    Leave a comment:


  • neilzep
    replied
    Sold them on ebay.

    Leave a comment:


  • SnakeEYE
    replied
    Originally posted by neilzep View Post
    Fat tails does that alot....BMT is full of 'his' work. Isnt that true Fats?
    Where are yours?

    Leave a comment:


  • SnakeEYE
    replied
    Have someone tried to do something like this?

    Leave a comment:


  • nicosxm
    replied
    Originally posted by Harry View Post
    Dean Malone is the author of the original Trader's Dynamic Index. Full credit goes to him. He has also published the code for this indicator.

    I have just written a version for NinjaTrader.

    The indicator is pretty simple. The original RSI developed by Wilder Welles shows the raw RSI and an exponential moving average of that RSI. The Trader's Dynamic Index shows 3 plots, all of which are simple moving averages of the raw RSI. Then Bollinger Bands are added to the slowest moving average. That's about all.

    Got you, thanks for the clarification..........

    nicosxm

    Leave a comment:


  • Harry
    replied
    Originally posted by nicosxm View Post
    I thought Dean Malone was the author of this Indicator.....

    nicosxm
    Dean Malone is the author of the original Trader's Dynamic Index. Full credit goes to him. He has also published the code for this indicator.

    I have just written a version for NinjaTrader.

    The indicator is pretty simple. The original RSI developed by Wilder Welles shows the raw RSI and an exponential moving average of that RSI. The Trader's Dynamic Index shows 3 plots, all of which are simple moving averages of the raw RSI. Then Bollinger Bands are added to the slowest moving average. That's about all.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
0 responses
625 views
0 likes
Last Post Geovanny Suaza  
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
0 responses
359 views
1 like
Last Post Geovanny Suaza  
Started by Mindset, 02-09-2026, 11:44 AM
0 responses
105 views
0 likes
Last Post Mindset
by Mindset
 
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
0 responses
562 views
1 like
Last Post Geovanny Suaza  
Started by RFrosty, 01-28-2026, 06:49 PM
0 responses
567 views
1 like
Last Post RFrosty
by RFrosty
 
Working...
X