thaomoua Posted April 12, 2014 Report Share Posted April 12, 2014 Enzofox i can help you in italian language , please ask me if you want ciao @admis thank you again for your time for us, can you only in the strategy (your PPTBoxSLsig.cs) turn off the message when the box is triggered?? thank you so much here a partial statistic http://my.jetscreenshot.com/20438/20140412-octc-139kb regards ciao Enzo If you mean to turn off the popup in the source code, goto line 60 private bool enablePopup = true; and set the false to false. thedriver and admis 2 Quote Link to comment Share on other sites More sharing options...
enzofox Posted April 12, 2014 Report Share Posted April 12, 2014 Hi Enzofox... are you only taking BOX trades after a Pennant forms ? care to share the Pennant indi please ? Cheers rivedi 253 posts tke1 1 Quote Link to comment Share on other sites More sharing options...
tke1 Posted April 12, 2014 Report Share Posted April 12, 2014 rivedi 253 posts Thanks - I installed the new version but don't see the Pennant - how do we get that to show ? Quote Link to comment Share on other sites More sharing options...
enzofox Posted April 13, 2014 Report Share Posted April 13, 2014 http://my.jetscreenshot.com/demo/20140413-w8ku-59kb.jpg Quote Link to comment Share on other sites More sharing options...
admis Posted April 13, 2014 Report Share Posted April 13, 2014 (edited) Updated version: - Pennants visible - Levels can be set in the parameter box /no impact on a strategy parameters/ - Few other minor improvements All of the changes, made in the source file are marked by: //@$ http://indo-investasi.com/showthread.php/24211-The-box?p=324613&viewfull=1#post324613 Cheers, Edited April 14, 2014 by admis user33, Indiart, Nukem and 11 others 14 Quote Link to comment Share on other sites More sharing options...
admis Posted April 13, 2014 Report Share Posted April 13, 2014 @Enzo: Your version (dll) of P__Box seems to be the same as previously shared in the source form. Someone has made only a few changes in the code before sharing... That's the reason a pennants was not visible. ⭐ flipper26 and forexonly 2 Quote Link to comment Share on other sites More sharing options...
enzofox Posted April 13, 2014 Report Share Posted April 13, 2014 @Enzo: Your version (dll) of P__Box seems to be the same as previously shared in the source form. Someone has made only a few changes in the code before sharing... That's the reason a pennants was not visible. I did the changes Why you all to thank and download, but do not work and they share? ⭐ flipper26 1 Quote Link to comment Share on other sites More sharing options...
enzofox Posted April 13, 2014 Report Share Posted April 13, 2014 sorry for my english, but I am disappointed Quote Link to comment Share on other sites More sharing options...
Trading1903 Posted April 13, 2014 Report Share Posted April 13, 2014 This is insane. They ask 5k for fib extensions ? Thanks to this forum and everybody who is contributing here !!! Quote Link to comment Share on other sites More sharing options...
Trading1903 Posted April 13, 2014 Report Share Posted April 13, 2014 Small request. It is possible to input negative numbers into the parameters ? Quote Link to comment Share on other sites More sharing options...
admis Posted April 13, 2014 Report Share Posted April 13, 2014 Small request. It is possible to input negative numbers into the parameters ? Yes, it is possible but would you be so kind and explain your intentions? Quote Link to comment Share on other sites More sharing options...
lipe.fx Posted April 13, 2014 Report Share Posted April 13, 2014 Hello Enzofox, divergence indicator that are you using? http://my.jetscreenshot.com/demo/20140413-w8ku-59kb.jpg Quote Link to comment Share on other sites More sharing options...
Trading1903 Posted April 13, 2014 Report Share Posted April 13, 2014 Yes, it is possible but would you be so kind and explain your intentions? @admis Use it to create "trigger" box for example if price is between -50 and -61 can initiate a buy and the opposite of course. Experiment with the range between box -50-61 and +50 and 61. I have done it manually of it is pain to back test ... admis 1 Quote Link to comment Share on other sites More sharing options...
bassmark Posted April 13, 2014 Report Share Posted April 13, 2014 if the price is at -$61 I want to buy it too :D , just kidding... Quote Link to comment Share on other sites More sharing options...
admis Posted April 13, 2014 Report Share Posted April 13, 2014 @admis Use it to create "trigger" box for example if price is between -50 and -61 can initiate a buy and the opposite of course. Experiment with the range between box -50-61 and +50 and 61. I have done it manually of it is pain to back test ... It's the version you asked for: http://www.sendspace.com/file/1gtvsc pass ... as usual ;) ⭐ stocktrader78 and Trading1903 2 Quote Link to comment Share on other sites More sharing options...
Trading1903 Posted April 14, 2014 Report Share Posted April 14, 2014 Wow .Thanks admis. Quote Link to comment Share on other sites More sharing options...
admis Posted April 14, 2014 Report Share Posted April 14, 2014 (edited) It's the same version as previously shared with one exception: targets can be assigned from a strategy as parameters. New name of this indicator and form of calling: PPTBoxSigLev(int target1, int target2, int target3, int target4, int target5) Example of usage: if (Position.MarketPosition == MarketPosition.Flat) { if (PPTBoxSigLev(162, 233,377, 512, 618).Box_Signal[0] == 1) { EnterLong(DefaultQuantity, ""); } if (PPTBoxSigLev(162, 233,377, 512, 618).Box_Signal[0] == -1) { EnterShort(DefaultQuantity, ""); } } You have to adapt your current strategies to the new name and parameters or use a previous release: PPTBoxSLsig() if you're not interested in a new feature introduced. P.S. This is my last release of this tweaked indicator. Now you can spend even 10k$ on a strategy development or ask yourself if it's worth ... Edited April 18, 2014 by admis ⭐ mizir_99, ⭐ shicuco, user33 and 3 others 6 Quote Link to comment Share on other sites More sharing options...
westvleteren Posted April 14, 2014 Report Share Posted April 14, 2014 (edited) Wow! I never thought the Strategy Wizard of Ninja could do so much !! Edited April 30, 2014 by westvleteren Quote Link to comment Share on other sites More sharing options...
admis Posted April 14, 2014 Report Share Posted April 14, 2014 @westvleteren: Using a strategy wizard is convenient as scratching by your right hand behind your left ear. You lost one day for something what should takes 5 min. Let's better spend your time on teaching C#... I don't get what exactly you looking for now? westvleteren 1 Quote Link to comment Share on other sites More sharing options...
westvleteren Posted April 14, 2014 Report Share Posted April 14, 2014 (edited) ............. Edited April 30, 2014 by westvleteren admis, dbz1713006267 and enzofox 3 Quote Link to comment Share on other sites More sharing options...
admis Posted April 14, 2014 Report Share Posted April 14, 2014 Admis, I made a PDF and provided the code file at http://hidemyass.com/files/Ejgi2/ Thanks westvleteren, I've got it. Allow me now to think and work on this... westvleteren 1 Quote Link to comment Share on other sites More sharing options...
admis Posted April 14, 2014 Report Share Posted April 14, 2014 You cannot use any variables in a condition before assigning them values. Where from NT has to know the value of Variable0? http://i.imgur.com/sxvuRA8.jpg westvleteren and user33 2 Quote Link to comment Share on other sites More sharing options...
westvleteren Posted April 14, 2014 Report Share Posted April 14, 2014 (edited) But my original question was just on the set target issue. Edited April 30, 2014 by westvleteren Quote Link to comment Share on other sites More sharing options...
admis Posted April 14, 2014 Report Share Posted April 14, 2014 (edited) You've just discovered limitations of strategy builder. In C#, or what you call "spaghetti", it can be solved in one line.: if (PPTBoxSLsig().Box_Signal[0] == 1) { BackColor = Color.LightGreen; EnterLong(Contracts, "Long"); SetProfitTarget("Long", CalculationMode.Price, PPTBoxSLsig().LongTarget1[0]); } The problem depends on "SetProfitTarget" which is not available in a structure of "Do the following". I'll try to translate it into "spaghetti" form and you'll see it can be "eaten". ;) Edited April 14, 2014 by admis westvleteren and tradernate 2 Quote Link to comment Share on other sites More sharing options...
westvleteren Posted April 14, 2014 Report Share Posted April 14, 2014 (edited) You are right. There is no "SetProfitTarget" in a structure of "Do the following". Edited April 30, 2014 by westvleteren Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.