<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — custom code]]></title>
		<link>https://forexsb.com/forum/topic/9129/custom-code/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9129/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in custom code.]]></description>
		<lastBuildDate>Tue, 31 May 2022 06:19:18 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: custom code]]></title>
			<link>https://forexsb.com/forum/post/69161/#p69161</link>
			<description><![CDATA[<div class="quotebox"><cite>Popov wrote:</cite><blockquote><p>Welcome back Jetaro!</p><p>&gt; What I tried doing was combining the Take profit indicator and the trailing stop indicator and merge them.</p><p>We already did that 10 years ago <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /> </p><p>Please see the &quot;Trailing Stop Limit&quot; indicator under the &quot;Closing Point&nbsp; of the Position&quot; slot.</p></blockquote></div><br /><p>oh really?&nbsp; cool! I will check that out right away.<br />nice to see you all here! it&#039;s been like 5 years!<br />I hope all is well!</p>]]></description>
			<author><![CDATA[null@example.com (jetaro)]]></author>
			<pubDate>Tue, 31 May 2022 06:19:18 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69161/#p69161</guid>
		</item>
		<item>
			<title><![CDATA[Re: custom code]]></title>
			<link>https://forexsb.com/forum/post/69157/#p69157</link>
			<description><![CDATA[<div class="quotebox"><cite>jetaro wrote:</cite><blockquote><p>Hey Footon! Happy to see you&#039;re still around! I figured you made your millions and are off living on some island full of beautiful girls haha <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>OMG, I must be going senile in my old age.&nbsp; I taught myself before but now I&#039;m totally lost. Maybe if you could point me in the right direction it will all come back to me.</p><p>What I&#039;m trying to do is sort of like a take profit trailing stop.&nbsp; But instead of following the price up, it goes down toward the price until the price hits it and sells.</p><p>Maybe i&#039;m not explaining it well.&nbsp; But I&#039;ve noticed during backtesting many times I&#039;ve seen +50 or +100 only to see it all disappear because the price didn&#039;t hit the TP.&nbsp; &nbsp;I&#039;m thinking either to lower the TP as the price goes up, Or just keep lowering it by a certain amount over time. </p><p>What I tried doing was combining the Take profit indicator and the trailing stop indicator and merge them.</p><p>it was doing something but I&#039;m not exactly sure what.&nbsp; I would show it to you but I deleted it out of frustration lol.</p><p>Is there a way in FSB to view indicators in real time during a backtest, like how Metatrader does it? There must be some way we can see what the indicator is actually doing right?</p><p>Well, time for me to hit the hay.&nbsp; I actually moved to Bangkok and have been living here over a year now with my thai girlfriend.&nbsp; I really like it here.&nbsp; We&#039;re like 6 hours ahead of London time.&nbsp; ttyl and take care!</p><p>Jet</p></blockquote></div><p>In addition what is said above, the TP indi cannot be customized, there&#039;s no way to for the custom indicator to see position info. So modifying TP is practically almost un-doable, theoretically maybe some tricks will work but it would be such a huge experimentation with a reliability risk. Better to modify the EA itself? </p><p>Isn&#039;t the indicator chart enough to see what it is doing? Essentially the backtest is instantaneous and what you see on chart gets used in the backtest. You can add additional indicator components to see more values if it is necessary (trace array values or something similar).</p><p>Bangkok sounds too hot <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Good night!</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Mon, 30 May 2022 20:04:24 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69157/#p69157</guid>
		</item>
		<item>
			<title><![CDATA[Re: custom code]]></title>
			<link>https://forexsb.com/forum/post/69155/#p69155</link>
			<description><![CDATA[<p>Welcome back Jetaro!</p><p>&gt; What I tried doing was combining the Take profit indicator and the trailing stop indicator and merge them.</p><p>We already did that 10 years ago <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /> </p><p>Please see the &quot;Trailing Stop Limit&quot; indicator under the &quot;Closing Point&nbsp; of the Position&quot; slot.</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Mon, 30 May 2022 17:36:01 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69155/#p69155</guid>
		</item>
		<item>
			<title><![CDATA[Re: custom code]]></title>
			<link>https://forexsb.com/forum/post/69150/#p69150</link>
			<description><![CDATA[<p>Hey Footon! Happy to see you&#039;re still around! I figured you made your millions and are off living on some island full of beautiful girls haha <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>OMG, I must be going senile in my old age.&nbsp; I taught myself before but now I&#039;m totally lost. Maybe if you could point me in the right direction it will all come back to me.</p><p>What I&#039;m trying to do is sort of like a take profit trailing stop.&nbsp; But instead of following the price up, it goes down toward the price until the price hits it and sells.</p><p>Maybe i&#039;m not explaining it well.&nbsp; But I&#039;ve noticed during backtesting many times I&#039;ve seen +50 or +100 only to see it all disappear because the price didn&#039;t hit the TP.&nbsp; &nbsp;I&#039;m thinking either to lower the TP as the price goes up, Or just keep lowering it by a certain amount over time. </p><p>What I tried doing was combining the Take profit indicator and the trailing stop indicator and merge them.</p><p>it was doing something but I&#039;m not exactly sure what.&nbsp; I would show it to you but I deleted it out of frustration lol.</p><p>Is there a way in FSB to view indicators in real time during a backtest, like how Metatrader does it? There must be some way we can see what the indicator is actually doing right?</p><p>Well, time for me to hit the hay.&nbsp; I actually moved to Bangkok and have been living here over a year now with my thai girlfriend.&nbsp; I really like it here.&nbsp; We&#039;re like 6 hours ahead of London time.&nbsp; ttyl and take care!</p><p>Jet</p>]]></description>
			<author><![CDATA[null@example.com (jetaro)]]></author>
			<pubDate>Mon, 30 May 2022 16:09:01 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69150/#p69150</guid>
		</item>
		<item>
			<title><![CDATA[Re: custom code]]></title>
			<link>https://forexsb.com/forum/post/69147/#p69147</link>
			<description><![CDATA[<p>Hey, Jet! Nothing has changed, everything is as before. The devil is in the details and usually when new indi makers appear and say easy-peasy, then after that their work need a lot of fixing in regard to the main concept of the program <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Tell us what you need to know in detail and we can go on from there (mind you, I&#039;m mostly self-taught, so this hinders my teaching ability somewhat, I&#039;m at my best in details).</p>]]></description>
			<author><![CDATA[null@example.com (footon)]]></author>
			<pubDate>Mon, 30 May 2022 13:37:46 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69147/#p69147</guid>
		</item>
		<item>
			<title><![CDATA[custom code]]></title>
			<link>https://forexsb.com/forum/post/69143/#p69143</link>
			<description><![CDATA[<p>Hi guys, it&#039;s been awhile, nice to be back!&nbsp; Wife didn&#039;t like me trading but now we&#039;re divorced lol.</p><p>I seem to remember it being very easy to program indicators and custom codes for stats, but now I can&#039;t seem to do anything.&nbsp; Also creating the mqh files was fairly easy before.&nbsp; Is my memory bad, or has something changed?</p><p>I don&#039;t really see any logic in the current .cs files, and I think I am missing include files?</p><p>Any help would be appreciated, thanks!</p>]]></description>
			<author><![CDATA[null@example.com (jetaro)]]></author>
			<pubDate>Mon, 30 May 2022 10:00:07 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/69143/#p69143</guid>
		</item>
	</channel>
</rss>
