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.
Type changed from Bug to Feature
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?
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.
Priority changed from Normal to Low
Let's say you choose ADX and MT4 code, do you want to see something like this?
Thank you.
//------------------------
// 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
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.
(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.
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.
Status changed from New to Refused