lululee Posted November 11, 2015 Report Share Posted November 11, 2015 Hi All, Can one of our finest educator convert the following to source. I like to change some peremeters and test it. Those are all hidden. http://forexupload.com/download.php?id=56436D7D1 Really appreciate it...thanks in advance. Lulu Quote Link to comment Share on other sites More sharing options...
admis Posted November 11, 2015 Report Share Posted November 11, 2015 Hi All, Can one of our finest educator convert the following to source. I like to change some peremeters and test it. Those are all hidden. ... Really appreciate it...thanks in advance. Lulu Hi Lulu, I appreciate your valuable activity and efforts in our forum. Below you can find my small gift for you. Probably, you'll be surprised.;) [spoiler=iVKSellHold] using System; using System.ComponentModel; using NinjaTrader.Data; namespace NinjaTrader.Strategy { [Description("Enter the description of your strategy here")] public class iVKSellHold : Strategy { protected override void Initialize() { SetTrailStop("", CalculationMode.Ticks, 30, false); CalculateOnBarClose=true; } protected override void OnBarUpdate() { if (CrossBelow(CCI(240), 0.0, 1)) { EnterShort(DefaultQuantity, ""); } if (CrossAbove(CCI(240), 0.0, 1)) { ExitShort("", ""); } } } } [spoiler=iVKsell] using System; using System.ComponentModel; using NinjaTrader.Data; namespace NinjaTrader.Strategy { [Description("Enter the description of your strategy here")] public class iVKsell : Strategy { protected override void Initialize() { SetStopLoss("", CalculationMode.Ticks, 20, false); SetProfitTarget("", CalculationMode.Ticks, 11); CalculateOnBarClose=true; } protected override void OnBarUpdate() { if (CrossBelow(SMA(CCI(240), 1), SMA(CCI(240), 20), 1) && CCI(20)[0] < 0.0) { EnterShort(DefaultQuantity, ""); } if (CrossAbove(SMA(CCI(240), 1), SMA(CCI(240), 20), 1)) { ExitShort("", ""); } } } } Cheers, thedriver, ⭐ Meow, Watson Leung and 13 others 16 Quote Link to comment Share on other sites More sharing options...
⭐ Meow Posted November 11, 2015 Report Share Posted November 11, 2015 So he's not even using his wonder indicator in the strategy, just usual CCI 240 crosses...;) Quote Link to comment Share on other sites More sharing options...
Traderbeauty Posted November 11, 2015 Report Share Posted November 11, 2015 its not the tools- its how you use them... Ganymed, ⭐ ESVepara and lululee 3 Quote Link to comment Share on other sites More sharing options...
tryitagainmf Posted November 11, 2015 Report Share Posted November 11, 2015 its not the tools- its how you use them... Or...as in this case...how you package them for sale... (Admis...thanks for revealing this...) Cheers! Mick spymez 1 Quote Link to comment Share on other sites More sharing options...
⭐ trim Posted November 11, 2015 Report Share Posted November 11, 2015 Admis- It would be too much to ask if you create an indicator for Nt7 that measures and alerts every 10-point move for the Emini SP500. I´m finding that the 10 point rule works many days. For instance, today the sp500 did a move from 2071 to 2082. Many times I forget about this rule because I am concentrating on bookmap or other indicator, so an indicator that reminds us this rule would be very helpful. I´m sure other members in this forum will appreciate it as well. ⭐ ESVepara 1 Quote Link to comment Share on other sites More sharing options...
lululee Posted November 12, 2015 Author Report Share Posted November 12, 2015 Hi Lulu, I appreciate your valuable activity and efforts in our forum. Below you can find my small gift for you. Probably, you'll be surprised.;) [spoiler=iVKSellHold] using System; using System.ComponentModel; using NinjaTrader.Data; namespace NinjaTrader.Strategy { [Description("Enter the description of your strategy here")] public class iVKSellHold : Strategy { protected override void Initialize() { SetTrailStop("", CalculationMode.Ticks, 30, false); CalculateOnBarClose=true; } protected override void OnBarUpdate() { if (CrossBelow(CCI(240), 0.0, 1)) { EnterShort(DefaultQuantity, ""); } if (CrossAbove(CCI(240), 0.0, 1)) { ExitShort("", ""); } } } } [spoiler=iVKsell] using System; using System.ComponentModel; using NinjaTrader.Data; namespace NinjaTrader.Strategy { [Description("Enter the description of your strategy here")] public class iVKsell : Strategy { protected override void Initialize() { SetStopLoss("", CalculationMode.Ticks, 20, false); SetProfitTarget("", CalculationMode.Ticks, 11); CalculateOnBarClose=true; } protected override void OnBarUpdate() { if (CrossBelow(SMA(CCI(240), 1), SMA(CCI(240), 20), 1) && CCI(20)[0] < 0.0) { EnterShort(DefaultQuantity, ""); } if (CrossAbove(SMA(CCI(240), 1), SMA(CCI(240), 20), 1)) { ExitShort("", ""); } } } } Cheers, Thank you @admis as always. When joined this forum March 2015 lots of guys/girls helped me, so it became my moral duty to help out new comers. I am not doing anything special thou. Thank you for your kind words. You are the best :). RICHI, tryitagainmf, admis and 4 others 7 Quote Link to comment Share on other sites More sharing options...
Watson Leung Posted November 12, 2015 Report Share Posted November 12, 2015 Thank you admis. but for iVKsell, I think one line should be corrected like this: if (CrossBelow(SMA(CCI(240), 1), SMA(CCI(240), 20), 1) && CCI(240)[0] < 0.0) Quote Link to comment Share on other sites More sharing options...
lululee Posted November 12, 2015 Author Report Share Posted November 12, 2015 its not the tools- its how you use them... Totally agreed with you TB, it is how you use it and he is pretty good at using it. I am posting today's and yesterday's videos. around 3 hours each and let you all see how he is using it. Also like to apologize in advance first few minutes he don't speak so have some speaker noise. Rest of the video and audio is high quality. Today's video 1.3 GB https://mega.nz/#!rUESFCza!pq9BFy19egYPjqR4rlUBrpGeAOkL_S1Uvq96IM4tgDU Yesterday's video 1.25gb https://mega.nz/#!6I0BxDpZ!X47Bon5klYY_a1_lYVYF1--8QRSerQy3keoaI8iYSHQ ⭐ flipper26, p29, Ganymed and 4 others 7 Quote Link to comment Share on other sites More sharing options...
⭐ Meow Posted November 12, 2015 Report Share Posted November 12, 2015 (edited) xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Totally agreed with you TB, it is how you use it and he is pretty good at using it. I am posting today's and yesterday's videos. around 3 hours each and let you all see how he is using it. Also like to apologize in advance first few minutes he don't speak so have some speaker noise. Rest of the video and audio is high quality. Today's video 1.3 GB https://mega.nz/#!rUESFCza!pq9BFy19egYPjqR4rlUBrpGeAOkL_S1Uvq96IM4tgDU Yesterday's video 1.25gb https://mega.nz/#!6I0BxDpZ!X47Bon5klYY_a1_lYVYF1--8QRSerQy3keoaI8iYSHQ Edited November 12, 2015 by Meow Quote Link to comment Share on other sites More sharing options...
admis Posted November 12, 2015 Report Share Posted November 12, 2015 Thank you admis. but for iVKsell, I think one line should be corrected like this: if (CrossBelow(SMA(CCI(240), 1), SMA(CCI(240), 20), 1) && CCI(240)[0] < 0.0) I've just checked it out once again. For sure, originally it is CCI(20)[0], but thanks for your attention. Having the sources, you can customize it by yourself... Quote Link to comment Share on other sites More sharing options...
⭐ trim Posted November 12, 2015 Report Share Posted November 12, 2015 I think it was asking too much. Cheers to all. Quote Link to comment Share on other sites More sharing options...
admis Posted November 12, 2015 Report Share Posted November 12, 2015 Admis- It would be too much to ask if you create an indicator for Nt7 that measures and alerts every 10-point move for the Emini SP500. I´m finding that the 10 point rule works many days. For instance, today the sp500 did a move from 2071 to 2082. Many times I forget about this rule because I am concentrating on bookmap or other indicator, so an indicator that reminds us this rule would be very helpful. I´m sure other members in this forum will appreciate it as well. I think it was asking too much. Cheers to all. I saw your request. I'm sorry, but you should keep in mind, I'm not your or I-I employee. I have a very limited time resources for helping people like you, but everything after hours. Life is brutal and most of us (I mean adults) have to pay bills, so we have to work... p29, newbie0101, mtpf and 3 others 6 Quote Link to comment Share on other sites More sharing options...
⭐ Meow Posted November 12, 2015 Report Share Posted November 12, 2015 Btw SMA(CCI(240), 20), 1) Is it SMA with period of 20 of CCI with period of 240 one bar ago? If that so, so what period of SMA is that one: SMA(CCI(240), 1) ? Quote Link to comment Share on other sites More sharing options...
Traderbeauty Posted November 12, 2015 Report Share Posted November 12, 2015 piece of advice- no matter how much they charge for these amazing systems do not think that by getting them for free you acquire some magic- trading with such delayed indicators is not advisable - its very good when the move is long and continues but on a sideways- chop day you will lose everything you made - plus... ⭐ elishar, ⭐ ESVepara and Watson Leung 3 Quote Link to comment Share on other sites More sharing options...
⭐ trim Posted November 13, 2015 Report Share Posted November 13, 2015 Dude, it´s fine. Just say, that I am too busy, or it takes too much resources or whatever That´s all. Cheers. tryitagainmf 1 Quote Link to comment Share on other sites More sharing options...
⭐ JDizzle22 Posted November 13, 2015 Report Share Posted November 13, 2015 Btw SMA(CCI(240), 20), 1) Is it SMA with period of 20 of CCI with period of 240 one bar ago? If that so, so what period of SMA is that one: SMA(CCI(240), 1) ? This is how the SMA is structured: SMA(DataSeries, Period) -> in your example, DataSeries would be CCI(240) and the Period of the SMA would be 1.....so it would be a 1 period SMA of the 240 CCI Quote Link to comment Share on other sites More sharing options...
⭐ JDizzle22 Posted November 13, 2015 Report Share Posted November 13, 2015 Admis- It would be too much to ask if you create an indicator for Nt7 that measures and alerts every 10-point move for the Emini SP500. I´m finding that the 10 point rule works many days. For instance, today the sp500 did a move from 2071 to 2082. Many times I forget about this rule because I am concentrating on bookmap or other indicator, so an indicator that reminds us this rule would be very helpful. I´m sure other members in this forum will appreciate it as well. Here is something that you could probably use: http://ninza.co/product/market-step ⭐ trim and ⭐ ESVepara 2 Quote Link to comment Share on other sites More sharing options...
⭐ Meow Posted November 13, 2015 Report Share Posted November 13, 2015 1 period SMA of 240 CCI should be like that: SMA(CCI(240), 1), 1) This is how the SMA is structured: SMA(DataSeries, Period) -> in your example, DataSeries would be CCI(240) and the Period of the SMA would be 1.....so it would be a 1 period SMA of the 240 CCI Quote Link to comment Share on other sites More sharing options...
⭐ JDizzle22 Posted November 13, 2015 Report Share Posted November 13, 2015 1 period SMA of 240 CCI should be like that: SMA(CCI(240), 1), 1) No, I think when you copied that part of the code you didn't copy the entire thing....1 period SMA of a 240 CCI would be SMA(CCI(240), 1)[0]....The last part of your code " ,1)" is copied from this part of the code: CrossBelow(SMA(CCI(240), 1), SMA(CCI(240), 20), 1) CrossBelow(IDataSeries series1, double value, int lookBackPeriod) -> So what the CrossBelow is saying is if the SMA(CCI(240), 1) crosses below the SMA(CCI(240), 20) in the last 1 bar(s), return true, else false. mtpf 1 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.