Click here to Login





                                                   Alligator Indicator need Help

  0

0
Marcus Schöppl
2015-01-06 11:02:26



I have the Alligator Indicator not found in quantshare, so i coded the indicator for your.

here ist the description.

but my problem ist, in another software the indicator looks different to quantshare :-(

how can help me.

thank you.

marcus

Alligator indicator consists of 3 Moving averages:

Alligator%u2019s jaws (blue line) %u2013 13-period Simple Moving Average built from (High+Low)/2, moved into the future by 8 bars;

Alligator%u2019s teeth (red line) - 8-period Simple Moving Average built from (High+Low)/2, moved by 5 bars into the future;

Alligator%u2019s lips (green line) - 5-period Simple Moving Average built from (High+Low)/2, moved by 3 bars into the future.


Here is the Quantshare Code


var1 = Sma((high+low)/2,13);
var2 = ref(var1, 8);

var3 = Sma((high+low)/2,8);
var4 = ref(var3, 5);

var5 = Sma((high+low)/2,5);
var6 = ref(var1, 3);

plot(var2, "a1",colorblue, chartline,StyleSymbolNone);

plot(var4, "a2",colorred, chartline,StyleSymbolNone);

plot(var6, "a3",colorgreen, chartline,StyleSymbolNone);




QuantShare
2015-01-08 02:09:32

  0

Here is how to move a variable 10 bars to the future:

a = ref(b, -10); // You should use a negative value here



Marcus Schöppl
2015-01-08 03:01:39

  0

nice! thank you for fast answer und great help!


No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Swing Index Indicator
Large Block Ratio Indicator
Coppock - VLT Momentum Indicator
Flat Market Indicator
Gann Trend Indicator

How-to Lessons
How to optimize an indicator in your trading system
How to dynamically update the settings of an indicator
How to create a moving average of an indicator
How to hide a trading indicator from a particular time frame
How to create a custom trading indicator

Related Forum Threads
Need assistance with C# creating an indicator
Simple Breath Summation index - need help
Need help downloading yahoo data on ^VIX
gurur need help in nse drivatives
Need help with a MM Script

Blog Posts
How to create a ratio indicator using QS Trading Software
How to Select the Best Market Indicator for your Trading System
Backtesting chart patterns using the auto support and resistance ...
Detect chart patterns using the auto support/resistance indicator
How to create the advance/decline market breadth indicator









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.