TDesk User Indicators Playground

Post Reply
BostonEJ
Trader
Posts: 25
Joined: Mon Apr 11, 2016 7:19 pm

TDesk User Indicators Playground

Post by BostonEJ »

bodavid » Wed May 01, 2019 11:55 pm wrote:
BostonEJ » Thu May 02, 2019 2:07 am wrote:Working on this indicator for use with TDesk. I created it in TradingView.


Both indi's are the same viewed differently. Its ATR as a fast line and a MA of ATR as the slow. I hope to set TDesk to take trades when fATR is over sATR and no trading for a pair when its below.

I will add the Empty4 files I've attempted to create for this indi and also ones I tried to create for use with TDesk once I can.

EJ

edit: maybe I cant add images here or I'm doing it wrong.

Hi EJ,

Please, check if this ATR indicator could suit your purpose.
If so, it can perhaps be improved by using MA instead of DMI etc..

As I was busy with an ADX/DMI indicator for UBD, I just overlayed the ATR instead of ADX.

Cheers,
Ben
Thanks. Not exactly sure what I'm seeing when I load it up so I cant say for sure. I believe Ehrenmat was going to make an attempt at the indi I referenced since he asked I send it to him.

What is the indi you provided showing with the mix of ATR and DMI?

EJ
bodavid
Trader
Posts: 64
Joined: Sun Jan 10, 2016 1:58 pm

TDesk User Indicators Playground

Post by bodavid »

BostonEJ » Fri May 03, 2019 6:39 am wrote:
Thanks. Not exactly sure what I'm seeing when I load it up so I cant say for sure. I believe Ehrenmat was going to make an attempt at the indi I referenced since he asked I send it to him.

What is the indi you provided showing with the mix of ATR and DMI?

EJ
Hi EJ,

It is the ATR showing as a histogram.

When it is GREEN, the ATR value is above the chosen threshold ATR_Level and the value of the ATR is increasing and the trend is UP (DMI is positive).

When it is RED, the ATR value is above the chosen threshold ATR_Level and the value of the ATR is increasing and the trend is DOWN (DMI is negative).

When it is WHITE, the ATR value is under the chosen threshold level and/or the value of the ATR is decreasing.

The chosen threshold ATR_level is multiplied by the ATR_Levelfactor to take away all the decimals
(like 0.0050).

This was just a quick attempt to give a possible solution but there are for sure better ways.

The indicator filters out trades when the ATR value is too low and(or) the value of the ATR is decreasing. It could be improved by putting a moving average on the DMI or replacing the DMI by another trend indicator like MACD etc..

Cheers,
Ben
User avatar
Ehrenmat
Trader
Posts: 89
Joined: Thu Jul 26, 2018 7:08 am

TDesk User Indicators Playground

Post by Ehrenmat »

BostonEJ » Today, 01:39 wrote:
Thanks. Not exactly sure what I'm seeing when I load it up so I cant say for sure. I believe Ehrenmat was going to make an attempt at the indi I referenced since he asked I send it to him.

What is the indi you provided showing with the mix of ATR and DMI?

EJ
Well... I did try to make your Indi TDesk compatible, EJ. But after a few devastating hours of code analysis I have to hand this out to the SHF community for help.

EDIT: Deleted the file since I found a solution ! :yahoo:

The problem is that TDesk doesn't detect the ATR Volatility MA Indi at all and I really don't get behind this. I don't even have a clue, why this happens... Could have to do something with the iMAOnArray part but I'm completely unsure.

To quote Steve: "Indi code baffles me" At least from time to time :?

Can someone more sophisticated get her/his hands on this and help us out? I would really like to know what I have done wrong so that I can manage situations like these in the future... :oops:

Not my week :roll:

Cheer and thanks in advance,

Mat

:hi:
Remember: A few hours of trial and error can save you minutes of looking at the README
User avatar
Ehrenmat
Trader
Posts: 89
Joined: Thu Jul 26, 2018 7:08 am

ATR Period Volatility Indicator

Post by Ehrenmat »

Ehrenmat » 40 minutes ago wrote:
BostonEJ » Today, 01:39 wrote:
Thanks. Not exactly sure what I'm seeing when I load it up so I cant say for sure. I believe Ehrenmat was going to make an attempt at the indi I referenced since he asked I send it to him.

What is the indi you provided showing with the mix of ATR and DMI?

EJ
Well... I did try to make your Indi TDesk compatible, EJ. But after a few devastating hours of code analysis I have to hand this out to the SHF community for help.

EDIT: Deleted the file since I found a solution ! :yahoo:

The problem is that TDesk doesn't detect the ATR Volatility MA Indi at all and I really don't get behind this. I don't even have a clue, why this happens... Could have to do something with the iMAOnArray part but I'm completely unsure.

To quote Steve: "Indi code baffles me" At least from time to time :?

Can someone more sophisticated get her/his hands on this and help us out? I would really like to know what I have done wrong so that I can manage situations like these in the future... :oops:

Not my week :roll:

Cheer and thanks in advance,

Mat

:hi:
Quotes and quotes of quotes... :roll:

To anyone who is interested in the coding problem: It was an enumeration failure at the TDesk signal publishing part... :?

Finally, here is your ATR Volatility MA indicator with TDesk Signals, EJ. To this point, I included your requested option to allow Solo Signals only at a given threshold.

EDIT: Latest Version @ATR Period Volatility Indicator

The signalling works as followed:

At first, a permanent FLAT Signal gets published. As soon as the ATR is above the Smoothed ATR, this FLAT signal gets deleted by publishing a NULL Signal to TDesk. This subsequently allows the formation of a Solo Signal through other indicator signals.

I hope, this is the way you wanted your indicator to react. If not, then just shout out and I will add, delete or modify TD conditions to your needs, EJ.

Cheers,

Mat

:hi:
Last edited by Ehrenmat on Sun May 05, 2019 7:51 pm, edited 3 times in total.
Remember: A few hours of trial and error can save you minutes of looking at the README
BostonEJ
Trader
Posts: 25
Joined: Mon Apr 11, 2016 7:19 pm

TDesk User Indicators Playground

Post by BostonEJ »

Ehrenmat,

I truly appreciate your efforts. I'll play with it this weekend and try to put some examples in from of the forum in case others care to use it.

Thanks again!

EJ
User avatar
Ehrenmat
Trader
Posts: 89
Joined: Thu Jul 26, 2018 7:08 am

TDesk User Indicators Playground

Post by Ehrenmat »

BostonEJ » Today, 00:33 wrote:Ehrenmat,

I truly appreciate your efforts. I'll play with it this weekend and try to put some examples in from of the forum in case others care to use it.

Thanks again!

EJ
Well, I myself see some advantage with this Volatility filter and will test a new setup thanks to your indicator.

:good:
Remember: A few hours of trial and error can save you minutes of looking at the README
User avatar
tomele
Administrator
Posts: 1208
Joined: Tue May 17, 2016 3:40 pm
Location: Germany, Forest of Odes, Defending the Limes

TDesk User Indicators Playground

Post by tomele »

Ehrenmat wrote:At first, a permanent FLAT Signal gets published. As soon as the ATR is above the Smoothed ATR, this FLAT signal gets deleted by publishing a NULL Signal to TDesk. This subsequently allows the formation of a Solo Signal through other indicator signals.
There is an identical feature in TDesk 6.6 now. This way you can even use Universal Drones as "Risk On, Risk Off" indicators.

Cheers
Thomas
Happy pippin, Thomas :-BD

It ain't what you don't know that gets you into trouble.
It's what you know for sure that just ain't so.
(Mark Twain)

Keep the coder going: Donate
BostonEJ
Trader
Posts: 25
Joined: Mon Apr 11, 2016 7:19 pm

TDesk User Indicators Playground

Post by BostonEJ »

Ehrenmat » Sat May 04, 2019 4:51 am wrote:
BostonEJ » Today, 00:33 wrote:Ehrenmat,

I truly appreciate your efforts. I'll play with it this weekend and try to put some examples in from of the forum in case others care to use it.

Thanks again!

EJ
Well, I myself see some advantage with this Volatility filter and will test a new setup thanks to your indicator.

:good:
Ehrenmat,

One thing I did change was your reference from the smoothed ATR to the Moving Average of the ATR. The smoothed is too short term to me and almost no difference from the original ATR. I've updated and uploaded the one I changed here.

I also attached how I have started to think about using it with some lines to show where longs and shorts would have been taken based on the ATR being above the slow ATR moving average. The last one would have been a loser so trying to figure out a way to refine.

Let me know if I can help with any of the ideas your thinking about. I hope to set this up and run it in a small account when markets are live again.

EJ
You do not have the required permissions to view the files attached to this post.
User avatar
pacinvest
Trader
Posts: 150
Joined: Tue May 15, 2012 10:24 am
Location: Whangarei, New Zealand

TDesk User Indicators Playground

Post by pacinvest »

tomele » Sat May 04, 2019 12:49 am wrote:
Ehrenmat wrote:At first, a permanent FLAT Signal gets published. As soon as the ATR is above the Smoothed ATR, this FLAT signal gets deleted by publishing a NULL Signal to TDesk. This subsequently allows the formation of a Solo Signal through other indicator signals.
There is an identical feature in TDesk 6.6 now. This way you can even use Universal Drones as "Risk On, Risk Off" indicators.

Cheers
Thomas

Thomas that is great news this will be really helpful to me. If I understand this what we will be able to do is create a 'trading context' for a mixture of signals to do their job when a condition to trade exists. To me identifying these times to trade is a really different process than trade signaling, so to have a function that allows this is valuable. Great work Thomas.
cheers
vince
User avatar
Ehrenmat
Trader
Posts: 89
Joined: Thu Jul 26, 2018 7:08 am

TDesk User Indicators Playground

Post by Ehrenmat »

tomele » Yesterday, 13:49 wrote:
Ehrenmat wrote:At first, a permanent FLAT Signal gets published. As soon as the ATR is above the Smoothed ATR, this FLAT signal gets deleted by publishing a NULL Signal to TDesk. This subsequently allows the formation of a Solo Signal through other indicator signals.
There is an identical feature in TDesk 6.6 now. This way you can even use Universal Drones as "Risk On, Risk Off" indicators.

Cheers
Thomas
Thank you very much, Thomas! This is propably a new important tool in our Swiss Army Knife named TDesk! :clap: :yahoo: :clap:

@ EJ

Let's keep your indi and its variations in some sort of naming convention or version history. Otherwise, we confuse each other and the SHF community. I'm not on my PC but will change the file description in my post for now.

Later this day, I will combine our two versions and start a Changelog.

Cheers,

Mat

:hi:
Remember: A few hours of trial and error can save you minutes of looking at the README
Post Reply

Return to “TDesk: A Thomas Special. The greatest trading tool ever.”