<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forex Software — Express generator running on Zorin (Linux)]]></title>
		<link>https://forexsb.com/forum/topic/9701/express-generator-running-on-zorin-linux/</link>
		<atom:link href="https://forexsb.com/forum/feed/rss/topic/9701/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Express generator running on Zorin (Linux).]]></description>
		<lastBuildDate>Sat, 23 Mar 2024 10:40:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Express generator running on Zorin (Linux)]]></title>
			<link>https://forexsb.com/forum/post/79198/#p79198</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>ParserError: /home/andrew/express-generator/updatedata.ps1:2<br />Line |<br />&nbsp; &nbsp; 2 |&nbsp; &nbsp; -- fx-rates&nbsp; true ^</p></blockquote></div><br /><p>In <strong>PowerShell</strong>, you can use the backtick character (<strong>`</strong>) to create a multiline command. The backtick acts as a line continuation character, allowing you to split a single command across multiple lines for better readability. Here’s how you can use it:</p><div class="codebox"><pre><code>node .\bin\fetch.js `
  --fx-rates true   `
  --symbols  EURUSD USDJPY GBPUSD `
  --periods  M1 M5 M15 M30 H1 H4 D1 `
  --max-bars 200000 `
  --time-zone  0</code></pre></div><p>You see the error because the caret character (^) does not work for joining a multiline command. What happens is that PowerShell sees the first line as one command and the second line as a new command.</p><p>Carret character (^) works in the Windows command scripts (with .cmd extension).</p>]]></description>
			<author><![CDATA[null@example.com (Popov)]]></author>
			<pubDate>Sat, 23 Mar 2024 10:40:23 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/79198/#p79198</guid>
		</item>
		<item>
			<title><![CDATA[Re: Express generator running on Zorin (Linux)]]></title>
			<link>https://forexsb.com/forum/post/79196/#p79196</link>
			<description><![CDATA[<p>Thanks for the response. I take it you are running this on a Windows based system because you are using a &#039;cmd&#039; command?<br />I am running in a Zorin terminal window where I have loaded powershell and then calleing node js.<br />Thanks, Andrew.</p>]]></description>
			<author><![CDATA[null@example.com (andrew_1089)]]></author>
			<pubDate>Fri, 22 Mar 2024 21:36:17 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/79196/#p79196</guid>
		</item>
		<item>
			<title><![CDATA[Re: Express generator running on Zorin (Linux)]]></title>
			<link>https://forexsb.com/forum/post/79174/#p79174</link>
			<description><![CDATA[<p>Hello my friend, how are you? I&#039;m sending you exactly in this post the working file, just place it in the same folder as the Generator and give it 2 clicks. Something else, I also advise you, as a user who uses this tool a lot, that you use the import script. of data from the MP 5 itself so that you can then download your data from your own broker, this will enable you to use indicators so that this volume strategy creation</p><br /><p>Don&#039;t forget to change the folder where the imported jazon files are located. Using the MP 5 script, you can change this folder within the Express generator configuration files</p>]]></description>
			<author><![CDATA[null@example.com (gabdecsters)]]></author>
			<pubDate>Thu, 21 Mar 2024 23:53:58 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/79174/#p79174</guid>
		</item>
		<item>
			<title><![CDATA[Express generator running on Zorin (Linux)]]></title>
			<link>https://forexsb.com/forum/post/79169/#p79169</link>
			<description><![CDATA[<p>Hi,<br />Got a small issue, managed eventually to get powershell running, with Node js and express generator installed. For some reason if I call a script such as get data in the format of: -<br />ITLE Data Downloader</p><div class="codebox"><pre><code>node .\bin\fetch.js ^
  --fx-rates true   ^
  --symbols  EURUSD USDJPY GBPUSD ^
  --periods  M1 M5 M15 M30 H1 H4 D1 ^
  --max-bars 200000 ^
  --time-zone  0</code></pre></div><p>pause<br />I get an error of PS /home/andrew/express-generator&gt; ./updatedata.ps1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ParserError: /home/andrew/express-generator/updatedata.ps1:2<br />Line |<br />&nbsp; &nbsp;2 |&nbsp; &nbsp; -- fx-rates&nbsp; true ^<br />&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; ~<br />&nbsp; &nbsp; &nbsp;| Missing expression after unary operator &#039;--&#039;.</p><p>However if I run like this&nbsp; from another ps script it works &quot;# Fetch Data BlackBull</p><p>node ./bin/fetch.js --fx-rates true --symbols&nbsp; EURUSD USDJPY GBPUSD --periods&nbsp; M1 M5 M15 M30 H1 H4 D1 --max-bars 200000&nbsp; --time-zone +2 --server BlackBull</p><p>pause</p><p>So I am thinking its an issue with new lines or carriage returns, I&#039;ve tried various delimeters however if all the command string is not on a single line it will error.<br />Any ideas to help?<br />Best wishes,<br />Andrew.</p>]]></description>
			<author><![CDATA[null@example.com (andrew_1089)]]></author>
			<pubDate>Thu, 21 Mar 2024 16:24:39 +0000</pubDate>
			<guid>https://forexsb.com/forum/post/79169/#p79169</guid>
		</item>
	</channel>
</rss>
