Please disregard this request , this is a limitation of Tradestation



B135 and B136  : Init Rule are not Translated in Easylanguage and Jforex Source Code


In AlgoWizard, if we are templating :

 in INIT RULE, if we  use a assign function , SQX is replacing each variable name with AssignVrbVleEntMlt.


Then in the "Source code" of Metatrader 4 and Metatrader 5 strategy , we can read the Init rule  : where AssignVrbVleEntMlt give back the value


  // OnInit  rules
   //------------------------
   // Rule: Init
   //------------------------
  if(sqIsBarOpen()){
      // Action #1
      Bollinger1Deviation = AssignVrbVleEntMlt;


      // Action #2
      HS = AssignVrbVleEntMlt2;


      // Action #3
      variable7 = AssignVrbVleEntMlt3;


      // Action #4
      variable8 = AssignVrbVleEntMlt4;



  }


But there is no Init rules in Easy language source code and no init rule translated in JForex source code and AssignVrbVleEntMlt does not give back the value to the variable 


and the variable remain at 0 

please see the video  

https://drive.google.com/file/d/1NnT1torGbZFi7bQrF6PK_Fw6ffd--qL7/view?usp=sharing



Attachments
  • Votes +5
  • Project StrategyQuant X
  • Type Bug
  • Status Refused
  • Priority Normal

History

E
#1

Emmanuel

20.05.2022 14:40

Task created

E
#2

Emmanuel

20.05.2022 14:40
Voted for this task.
E
#3

Emmanuel

20.05.2022 15:52

Attachment Strategy 2127.xml added

Attachment Strategy 2119.xml added

Attachment Strategy 2124.xml added

Attachment Bug Assign function Init.mp4 added

Attachment Build 1391.cfx added

Attachment H1391 Test Bollinger Band Template.sqx added

Strategy 2119.xml
(58.50 KiB)
Strategy 2124.xml
(67.91 KiB)
Build 1391.cfx
(55.68 KiB)
Bug Assign function Init.mp4
(8.80 MiB)
Strategy 2127.xml
(57.32 KiB)
H1391 Test Bollinger Band Template.sqx
(3.80 KiB)
E
#4

Emmanuel

20.05.2022 15:54

Subject changed from AlgoWizard : Assign Function, Random Number : never producing decimal number ? to AlgoWizard : Assign Function, Random Number : can not assign a number ?

Description changed:


In AlgoWizard, 

If we  use a function Random and assign it to a double , it will never produce decimal number or any number


I tried to assign a number directly without random function and we can not assign any value as well


We can see this as well in the XML file of the strategy

Fs
#5

Fortunate

20.05.2022 16:00
Voted for this task.
E
#6

Emmanuel

21.05.2022 14:37

Subject changed from AlgoWizard : Assign Function, Random Number : can not assign a number ? to B135 and B136 AlgoWizard : Assign Function, Random Number : we can not assign a number

Description changed:


In AlgoWizard, 

If we  use a assign function to a double , it won't assign a decimal number or any number. We can see it in the code of the strategy



I tried to assign a number directly with or without random function and we can not assign any value as well


We can see this as well in the XML file of the strategy

Attachment template test bollinger.sqx added

template test bollinger.sqx
(3.74 KiB)
E
#7

Emmanuel

21.05.2022 14:51

Description changed:


In AlgoWizard, 

1/    If we  use a assign function to a double  , it won't assign a decimal number or any number. We can see it in the code of the strategy

I tried to assign a number directly with or without random function and we can not assign any value as well

We can see this as well in the XML file of the strategy


2/ We can not assign a string either , this would useful





b
#8

bentra

21.05.2022 19:39
Voted for this task.
Cc
#9

Cyber

22.05.2022 02:34
Voted for this task.
E
#10

Emmanuel

22.05.2022 10:44

Subject changed from B135 and B136 AlgoWizard : Assign Function, Random Number : we can not assign a number to B135 and B136 Source Code : Init Rule are not Translated in Easy llanguage and Jforex

Description changed:


In AlgoWizard, if we are templating :

 in INIT RULE, if we  use a assign function , SQX is replacing each variable name with AssignVrbVleEntMlt.


Then in the "Source code" of Metatrader 4 and Metatrader 5 strategy , we can read the Init rule  : where AssignVrbVleEntMlt give back the value


  // OnInit  rules

   //------------------------

   // Rule: Init

   //------------------------

  if(sqIsBarOpen()){

      // Action #1

      Bollinger1Deviation = AssignVrbVleEntMlt;


      // Action #2

      HS = AssignVrbVleEntMlt2;


      // Action #3

      variable7 = AssignVrbVleEntMlt3;


      // Action #4

      variable8 = AssignVrbVleEntMlt4;


  }


But there is no Init rules in Easy language source code and no init rule translated in JForex source code and AssignVrbVleEntMlt does not give back the value to the variable 


and the variable remain at 0 


please see the video  


https://drive.google.com/file/d/1NnT1torGbZFi7bQrF6PK_Fw6ffd--qL7/view?usp=sharing



Attachment image-0.png added

Attachment H1400 Test Bollinger Band Template.sqx added

Attachment Strategy 2129.sqx added

image-0.png
(20.56 KiB)
H1400 Test Bollinger Band Template.sqx
(3.46 KiB)
Strategy 2129.sqx
(30.80 KiB)
E
#11

Emmanuel

22.05.2022 10:44

Subject changed from B135 and B136 Source Code : Init Rule are not Translated in Easy llanguage and Jforex to B135 and B136 : Init Rule are not Translated in Easylanguage and Jforex Source Code

E
#12

Emmanuel

22.05.2022 10:54

Attachment image-1.png deleted

E
#13

Emmanuel

22.05.2022 10:54

Attachment image-0.png deleted

E
#14

Emmanuel

22.05.2022 10:54

Attachment Strategy 1125.xml deleted

TM
#15

tmatejka

23.05.2022 13:28
Voted for this task.
E
#16

Emmanuel

25.05.2022 14:59

Subject changed from B135 and B136 : Init Rule are not Translated in Easylanguage and Jforex Source Code to Please disregard this request , this is a limitation on Tradestation

Description changed:


B135 and B136  : Init Rule are not Translated in Easylanguage and Jforex Source Code


In AlgoWizard, if we are templating :

 in INIT RULE, if we  use a assign function , SQX is replacing each variable name with AssignVrbVleEntMlt.


Then in the "Source code" of Metatrader 4 and Metatrader 5 strategy , we can read the Init rule  : where AssignVrbVleEntMlt give back the value


  // OnInit  rules
   //------------------------
   // Rule: Init
   //------------------------
  if(sqIsBarOpen()){
      // Action #1
      Bollinger1Deviation = AssignVrbVleEntMlt;


      // Action #2
      HS = AssignVrbVleEntMlt2;


      // Action #3
      variable7 = AssignVrbVleEntMlt3;


      // Action #4
      variable8 = AssignVrbVleEntMlt4;



  }


But there is no Init rules in Easy language source code and no init rule translated in JForex source code and AssignVrbVleEntMlt does not give back the value to the variable 


and the variable remain at 0 

please see the video  

https://drive.google.com/file/d/1NnT1torGbZFi7bQrF6PK_Fw6ffd--qL7/view?usp=sharing



E
#17

Emmanuel

25.05.2022 14:59

Subject changed from Please disregard this request , this is a limitation on Tradestation to Please disregard this request , this is a limitation of Tradestation

MF
#18

Mark Fric

30.05.2022 08:05

Status changed from New to Refused


Votes: +5

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please