<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forex Software — Mac Users]]></title>
	<link rel="self" href="https://forexsb.com/forum/feed/atom/topic/9294/" />
	<updated>2022-11-11T00:50:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forexsb.com/forum/topic/9294/mac-users/</id>
		<entry>
			<title type="html"><![CDATA[Re: Mac Users]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/72194/#p72194" />
			<content type="html"><![CDATA[<p>when running my script I get the following error. </p><br /><p>: command not found 8: <br />./workflow.sh: line 9: TITLE: command not found<br />: command not found 10: <br />./workflow.sh: line 174: syntax error: unexpected end of file</p><br /><p>I think I&#039;ve narrowed it down to the workflow.sh file not liking my %variables. </p><p>First lines of my script code below. </p><p>set symbol=%1<br />set period=%2<br />set bars=%3<br />set spread=%4<br />set swaplong=%5<br />set swapshort=%6<br />set instance=%7</p><p>TITLE %symbol% %period% %instance%</p><p>if %symbol% == &quot;&quot; exit</p><p>The last line of my script, 174, says timeout 2</p><br /><br /><p>The idea is to run the script with a workflow running program that sets those variables for the different currency pairs. </p><p>My work flow running code look like this. </p><p>start workflow USDJPY H1 16689 10 -6.371 -6.371 1<br />start workflow USDJPY H1 16689 10 -6.371 -6.371 2<br />start workflow EURUSD H1 16689 10 -6.455 -6.455 1<br />start workflow EURUSD H1 16689 10 -6.455 -6.455 2<br />start workflow USDCHF H1 16689 10 -6.211 -6.211 1<br />start workflow USDCHF H1 16689 10 -6.211 -6.211 2<br />start workflow USDCAD H1 16689 10 -3.384 -3.384 1<br />start workflow USDCAD H1 16689 10 -3.384 -3.384 2<br />start workflow GBPUSD H1 16689 10 -2.925 -2.925 1<br />start workflow GBPUSD H1 16689 10 -2.925 -2.925 2<br />start workflow AUDUSD H1 16689 10 -2.481 -2.481 1<br />start workflow AUDUSD H1 16689 10 -2.481 -2.481 2</p><p>when running my workflow running it doesn&#039;t recognize the start command stating start: command not found.</p><p>The idea here is to run 2 windows per major currency pair. </p><p>I have my scripts working on windows and it does what I want it to do.&nbsp; <br />So I think it&#039;s just a syntax error. </p><p>I already replaced all the ^ with / as well.</p>]]></content>
			<author>
				<name><![CDATA[Matthew Roberts]]></name>
				<uri>https://forexsb.com/forum/user/14222/</uri>
			</author>
			<updated>2022-11-11T00:50:32Z</updated>
			<id>https://forexsb.com/forum/post/72194/#p72194</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Mac Users]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/72192/#p72192" />
			<content type="html"><![CDATA[<p>I&#039;ll try this and see if I have any additional questions! </p><p>Thanks for the help <img src="https://forexsb.com/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Matthew Roberts]]></name>
				<uri>https://forexsb.com/forum/user/14222/</uri>
			</author>
			<updated>2022-11-10T22:20:42Z</updated>
			<id>https://forexsb.com/forum/post/72192/#p72192</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Mac Users]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/72172/#p72172" />
			<content type="html"><![CDATA[<p>If you install PowerShell on your Mac, you will have a similar behaviour as in the tutorial videos.</p>]]></content>
			<author>
				<name><![CDATA[Popov]]></name>
				<uri>https://forexsb.com/forum/user/2/</uri>
			</author>
			<updated>2022-11-10T07:46:04Z</updated>
			<id>https://forexsb.com/forum/post/72172/#p72172</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Mac Users]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/72171/#p72171" />
			<content type="html"><![CDATA[<p>Yes, I&#039;m a mac user and I&#039;m using .sh and it&#039;s working fine for me.</p><p>Have you made the .sh file executable by using chmod 755 from the terminal window?</p><div class="codebox"><pre><code>chmod 755 yourfile.sh</code></pre></div><p>And then you should be able to execute it with:<br /></p><div class="codebox"><pre><code>./yourfile.sh</code></pre></div><p>My generate.sh script is as follows:</p><div class="codebox"><pre><code>/usr/local/bin/node ./bin/fetch --settings ./my-fetch.ini
/usr/local/bin/node ./bin/gen --settings ./my-settings.ini</code></pre></div><p>And I can run it manually through the Terminal as: ./generate.sh, although I&#039;m using a combination of scripts within MT5 to export live data at a specific point, and then another script to copy it to my express-generator folder structure, then when that changes, it kicks off the generate.sh script.</p>]]></content>
			<author>
				<name><![CDATA[timelleston]]></name>
				<uri>https://forexsb.com/forum/user/14044/</uri>
			</author>
			<updated>2022-11-10T06:18:52Z</updated>
			<id>https://forexsb.com/forum/post/72171/#p72171</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Mac Users]]></title>
			<link rel="alternate" href="https://forexsb.com/forum/post/72170/#p72170" />
			<content type="html"><![CDATA[<p>Do any Mac users know what file types to use to get express gen workflows to launch in the terminal? </p><p>.sh hasn&#039;t worked for me.</p>]]></content>
			<author>
				<name><![CDATA[Matthew Roberts]]></name>
				<uri>https://forexsb.com/forum/user/14222/</uri>
			</author>
			<updated>2022-11-10T05:35:31Z</updated>
			<id>https://forexsb.com/forum/post/72170/#p72170</id>
		</entry>
</feed>
