Two MA Cross Alert

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Re: Two MA Cross Alert

Postby Apprentice » Tue Oct 22, 2019 4:20 am

Your request is added to the development list.
Development reference 229.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 23042
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Alert

Postby Apprentice » Tue Oct 22, 2019 9:02 am

Tick_Two_Averages_Cross_Alert.lua
(15.4 KiB) Downloaded 38 times

Try this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 23042
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Alert

Postby steveped » Tue Oct 22, 2019 9:14 am

That's ok. I noticed that if I apply this indicator on another indicator the price shown is the indicator's level. Is is possible to see the underline instrument price instead? Or maybe decide what's the info to be shown between indicator's level and instrument price. Thanks.
steveped
 
Posts: 23
Joined: Sun Oct 19, 2014 3:57 am

Re: Two MA Cross Alert

Postby Apprentice » Thu Oct 24, 2019 5:39 am

I don't understand what he is talking about. You are choosing the source yourself in the dialog. I don't see any points to select one source and don't use it. And FXTS2 doesn't provide information on what indicator based on what.

Can you provide more information, example?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 23042
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Two MA Cross Alert

Postby steveped » Thu Oct 24, 2019 7:34 am

Sure. I apply this indicator to another (ie Regularized Momentum). When I receive the alert via email, the number shown is the level of the indicator. I would like to receive the price of the underline instrument instead (ie GER30).
steveped
 
Posts: 23
Joined: Sun Oct 19, 2014 3:57 am

Re: Two MA Cross Alert

Postby Apprentice » Mon Oct 28, 2019 5:27 am

Impossible to implement.
Indicators can't get the source of their source.
We can only hardcode it. It will not work on indicator views properly.
Tick_Two_Averages_Cross_Alert_steveped.lua
(29.1 KiB) Downloaded 33 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 23042
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Previous

Return to Custom Indicators

Who is online

Users browsing this forum: No registered users and 14 guests