<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — How to make a Custom Indicator from an original one]]></title>
		<link>https://forexsb.com/forum/topic/871/how-to-make-a-custom-indicator-from-an-original-one/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/871/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to make a Custom Indicator from an original one.]]></description>
		<lastBuildDate>Thu, 11 Jun 2009 07:14:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to make a Custom Indicator from an original one]]></title>
			<link>https://forexsb.com/forum/post/2653/#p2653</link>
			<description><![CDATA[<div class="quotebox"><cite>cooper wrote:</cite><blockquote><p>DO you have a customizeable RSI that allows the input of 3 parameters, not just 1?</p></blockquote></div><p>I have all FSB&#039;s indicators customizable (including RSI). You have all of them also. Simply all the indicators are customizable. You need to follow the shown above 4 easy steps to change an indicator.</p><p>You can use the following parameters:</p><p> - Five dropdown list boxes. (Logic, Base price, Method, ...)<br /> - Six numeric boxes (Period, Shift, Level, ...)<br /> - Two check boxes.</p><p>You can freely name and set these 13 parameters for every indicator.</p><p>About RSI - It has: Base price, Smoothing method and Smoothing period plus Logic, Level and Use previous bar value. If you need more, copy the original RSI in the Custom Indicators folder. Change the class name, indicator name and set &quot;CustomIndicator = true&quot;. Add the new parameters and change the formula. That&#039;s all.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Thu, 11 Jun 2009 07:14:56 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/2653/#p2653</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to make a Custom Indicator from an original one]]></title>
			<link>https://forexsb.com/forum/post/2652/#p2652</link>
			<description><![CDATA[<p>DO you have a customizeable RSI that allows the input of 3 parameters, not just 1?</p>]]></description>
			<author><![CDATA[null@example.com (cooper)]]></author>
			<pubDate>Thu, 11 Jun 2009 00:01:44 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/2652/#p2652</guid>
		</item>
		<item>
			<title><![CDATA[How to make a Custom Indicator from an original one]]></title>
			<link>https://forexsb.com/forum/post/2467/#p2467</link>
			<description><![CDATA[<p>The custom indicators are fully identical to the original (hard-coded) indicators. The only difference is that a custom indicator has to be properly marked as custom by setting the property CustomIndicator to true.</p><div class="codebox"><pre><code>       CustomIndicator = true;</code></pre></div><p>You can use the code of original indicators. It is published here: <a href="http://forexsb.com/library/source/">Forex indicators source code</a>.</p><br /><p><strong>Example of making a custom RSI</strong></p><p>This is part of the original RSI:</p><div class="codebox"><pre><code>    ...
    ...
    public class RSI : Indicator
    {
        /// &lt;summary&gt;
        /// Sets the default indicator parameters for the designated slot type
        /// &lt;/summary&gt;
        public RSI(SlotTypes slotType)
        {
            // General properties
            IndicatorName  = &quot;RSI&quot;;
            PossibleSlots  = SlotTypes.OpenFilter | SlotTypes.CloseFilter;
            SeparatedChart = true;
            SeparatedChartMinValue = 0;
            SeparatedChartMaxValue = 100;

            // Setting up the indicator parameters
            IndParam = new IndicatorParam();
            IndParam.IndicatorName = IndicatorName;
            IndParam.SlotType      = slotType;

           ...
           ...</code></pre></div><br /><p>To make a custom RSI you have to change:<br />1. the class name,<br />2. the constructor name,<br />3. the indicator name,<br />4. to mark it as custom.</p><p><a href="http://www.postimage.org/"><span class="postimg"><img src="http://www.postimage.org/Pq1HCRaJ.png" alt="http://www.postimage.org/Pq1HCRaJ.png" /></span></a></p><p>That is all <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sun, 10 May 2009 21:41:21 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/2467/#p2467</guid>
		</item>
	</channel>
</rss>
