SQX Signals and Indicators

Hi :),



I'd like to be able to right click any indicator or signal in building blocks and see a source code drop down menu.  The menu would have MT4, MT5, TS etc.  When I select MT4 another window will appear with the MT4 source code for that indicator or signal.


Thank you.

Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Feature
  • Status Refused
  • Priority Low

History

n
#1

notch

11.08.2020 18:54

Task created

MF
#2

Mark Fric

12.08.2020 11:19

Type changed from Bug to Feature

reclassified to feature. It is a good idea.
h
#3

hankeys

12.08.2020 11:37
and why is that? whats behind it that i need to see MQL code of some signal or indicator


what will this tells me - our signals are simple - is raising/failing, crossed some level... do i really need to see the MQL code of this?

n
#4

notch

12.08.2020 13:08
Hi Hankeys,


Different groups of users require different things because we all do not use SQX to do the same things.  Being able to quickly select the code for an indicator or signal will help coders be more productive.  Adding a rule in AlgoWizard then generating the code for a signal adds many unnecessary steps in comparison to my request.  However, this feature will not be of benefit to you because I believe you do not make code adjustments to SQX generated strategies.

MF
#5

Mark Fric

14.08.2020 09:26

Priority changed from Normal to Low

to clarify this - what exactly you want to see for the indicator?

Let's say you choose ADX and MT4 code, do you want to see something like this?


sqADX(NULL,04016+1)
n
#6

notch

14.08.2020 23:57
I'd like to see that and the entire code fragment necessary for sqADX to be called if I copy and paste it into one of my EAs.


Thank you.

h
#7

hankeys

15.08.2020 11:09
this is example of only simple code for LONG RULE


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

   // Rule: Long entry

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

   if (sqIsBarOpen()

      && (!sqTradeRecentlyClosed("Current", MagicNumber, true, true)

      && (sqStochastic(NULL,0, 21, 3, 7, 0, 0, 1, 5+1)<sqStochastic(NULL,0, 21, 3, 7, 0, 0, 1, 5))))

   {

      // Action #1

      _ticket = sqOpenOrder(OP_BUYSTOP, "Current", mmLots, sqMonthly(NULL,0, "Close", 1), MagicNumber, "", 0, false, false, CLR_NONE);


      if(_ticket > 0 && OrderSelect(_ticket, SELECT_BY_TICKET)) {

         // set or initialize all order exit methods (SL, PT, Trailing Stop, Exit After Bars, etc.)

         sqSetOrderExpiration(_ticket, 4);


         // StopLoss & ProfitTarget

         sqSetSLandPT(_ticket, sqGetSLLevel("Current", OP_BUYSTOP, OrderOpenPrice(), 1, 70), sqGetPTLevel("Current", OP_BUYSTOP, OrderOpenPrice(), 1, 305));


         // TrailingStop initialization

         sqSetGlobalVariable(_ticket, "TrailingStop", sqStringHash("100"));

         sqSetGlobalVariable(_ticket, "TrailingStopType", SLPTTYPE_RANGE);

      }




  }


you will never get SQ functions to any other EA - because MQL code of SQX using his own libraries and functions



n
#8

notch

16.08.2020 10:17
"you will never get SQ functions to any other EA - because MQL code of SQX using his own libraries and functions"


Never?  Perhaps stop contributing to this request because you do not use SQX the way I do.  Of course, it is possible because I do the same cut and paste myself from SQX generated code to my own EAs.  Hence the request.

n
#9

notch

16.08.2020 10:20
Signal and indicator, so the request is for this snippet and the underlying code that feeds it:


 (sqStochastic(NULL,0, 21, 3, 7, 0, 0, 1, 5+1)<sqStochastic(NULL,0, 21, 3, 7, 0, 0, 1, 5))))


There are 1000s of ways to use SQX beyond clicking on a button and waiting for models to be generated.  The feature agenda cannot be solely dictated by one class of algo' developers.


SQX is a GENERAL algo' development support tool.  It may not say that on the box YET but it will eventually. It has the capacity to serve every class of trader not just the 100% click a button algo developer.  Why?  Because solid product differentiation with a solid value proposition drives up profit margins and erects very high barriers to entry in an increasingly competitive algo generator marketplace.  

h
#10

hankeys

16.08.2020 11:03
sorry, but also the features must be general, there are more important features which will use more users, not this specific one
n
#11

notch

16.08.2020 13:09
"sorry, but also the features must be general, there are more important features which will use more users, not this specific one"



I will leave it for the SQX team to decide; I am not here to dictate priorities but to post a feature request.


Thanks for your feedback.

MF
#12

Mark Fric

17.08.2020 11:21

Status changed from New to Refused

I'm going to refuse this task, it is too specific, I understood it differently. You can copy & paste the condition from strategy source code.
n
#13

notch

17.08.2020 11:56


No problem.  There is no harm in making a request.

Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

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

...
Wait please