NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 25 of 40
Search: Posts Made By: mosalem2003
Forum: Sierra Chart April 23rd, 2024, 07:07 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
My ACSIL trading system conditionally in certain...

My ACSIL trading system conditionally in certain conditions, submit an order to a different symbol than the symbol of the chart that the trading system ACSIL study is applied to..
The order submits...
Forum: Sierra Chart October 13th, 2022, 02:58 AM
Replies: 119
Views: 28,168
Posted By mosalem2003
<< I have fixed this part regarding the resets...

<< I have fixed this part regarding the resets using ur initial proposal as follows and now the persistent variables resets properly, I noticed the issue was a syntax in the assignments in the code...
Forum: Sierra Chart October 11th, 2022, 01:30 AM
Replies: 119
Views: 28,168
Posted By mosalem2003
Thanks a lot for your helpful feedback and...

Thanks a lot for your helpful feedback and support as usual.
I have updated the code to use persistent variables rather than inputs.
It was not working when variables are reset at the last bar...
Forum: Sierra Chart October 7th, 2022, 04:30 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
Thanks a lot for your feedback and guidance. I am...

Thanks a lot for your feedback and guidance. I am still at beginner level, so excuse my primitive challenges. I have pasted the code for your reference and I have used the imprecision float...
Forum: Sierra Chart October 6th, 2022, 02:46 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
Is there any setup for the entire code to avoid...

Is there any setup for the entire code to avoid this problem - The issue should be well known - or this will need to change every comparison of the price crossing or breaking a line using that...
Forum: Sierra Chart October 6th, 2022, 10:59 AM
Replies: 119
Views: 28,168
Posted By mosalem2003
The code is working using the persistent float...

The code is working using the persistent float that successfully retain the price level at the break.

float & DCHB = sc.GetPersistentFloat(1);
float & DCLB = sc.GetPersistentFloat(2);


L,...
Forum: Sierra Chart October 5th, 2022, 07:23 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
Thanks a lot for your response. I have added...

Thanks a lot for your response.
I have added the persistent variables to hold the price level at a break of the high or the low to retain their values between function calls with each new bar ...
Forum: Sierra Chart October 4th, 2022, 12:15 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
What is the best code practice for the following...

What is the best code practice for the following scenario:

1- The white line is used as a trigger for switch long or short in this case.
2- If closed above the line , then we are long
3- We...
Forum: Sierra Chart September 16th, 2022, 01:19 AM
Replies: 119
Views: 28,168
Posted By mosalem2003
https://nexusfi.com/attachment.php?attachmentid=32...

https://nexusfi.com/attachment.php?attachmentid=327008

There are two filled orders in the example shown in image - order 1 is the first filled, and order 2 is the second filled, each has its own...
Forum: Sierra Chart January 30th, 2021, 04:24 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
Thanks a lot Trembling Hand for your great...

Thanks a lot Trembling Hand for your great support as usual

if (OrderDetails.ParentInternalOrderID != 0)//This means this is an Attached Order
continue;

This works perfectly as it will...
Forum: Sierra Chart January 29th, 2021, 02:37 AM
Replies: 119
Views: 28,168
Posted By mosalem2003
sc.CancelAllOrdersOnEntriesAndReversals = true; ...

sc.CancelAllOrdersOnEntriesAndReversals = true;

What is the parameter to use in order to cancel all non-filled orders Except Open attached orders ?
Forum: Sierra Chart January 28th, 2021, 10:12 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
I was defining arrays or variables within the...

I was defining arrays or variables within the system body which is not an input or a subgraph at the input/subgraph sections and these variable or array doesn't have initialization. I noticed that...
Forum: Sierra Chart January 4th, 2021, 04:51 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
Thanks a lot Trembling Hand for your help and...

Thanks a lot Trembling Hand for your help and great support. Yes, it is a very good lesson to know that the Donchian Channel by Sierra would have that shift. However, the spreadsheet study with the...
Forum: Sierra Chart January 4th, 2021, 12:24 AM
Replies: 119
Views: 28,168
Posted By mosalem2003
Thanks a lot -- It was Sunday opening bar at...

Thanks a lot -- It was Sunday opening bar at 18:00 EST , I tried the changes above and it has the same behavior.


https://nexusfi.com/attachment.php?attachmentid=307861
Forum: Sierra Chart January 3rd, 2021, 11:24 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
I do apologize, I thought that this is clear --...

I do apologize, I thought that this is clear -- However, this is the debug log that you are requesting and it is clear from the log that the array is mis-aligned with the actual Donchian Channel... ...
Forum: Sierra Chart January 3rd, 2021, 10:27 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
I have compared again and reviewed the code and...

I have compared again and reviewed the code and the charts. It is noted in the two attached charts that:
The Trading Algo study L2_Seller in this example is not aligned with the L2_Seller that is...
Forum: Sierra Chart January 3rd, 2021, 06:17 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
I fully understand. I tested the trading algo...

I fully understand. I tested the trading algo study alone without the trading study and I am still observing the unexpected behavior of subgraphs L2_Buyer/Seller. I will continue checking what could...
Forum: Sierra Chart January 3rd, 2021, 05:44 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
Thanks a lot Trembling Hand... I will check it...

Thanks a lot Trembling Hand... I will check it accordingly. My main concern was how the ( Trading Algo study ) subgraphs L2_Buyer/Seller perform. I use DC channel 30 minutes and also Demand Index 30...
Forum: Sierra Chart January 3rd, 2021, 12:50 AM
Replies: 119
Views: 28,168
Posted By mosalem2003
https://nexusfi.com/attachment.php?attachmentid=30...

https://nexusfi.com/attachment.php?attachmentid=307835

Thanks a lot for the great and excellent help. I have tried it now on SC...
There is still events where L2_Buyer and L2_Seller is not...
Forum: Sierra Chart January 2nd, 2021, 09:38 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
Thanks a lot for your elaborated and detailed...

Thanks a lot for your elaborated and detailed code. This is highly appreciated and I will try it once back from the holiday. Happy new year ..

Sent using the NexusFi mobile app...
Forum: Sierra Chart December 28th, 2020, 06:16 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
Thanks for the suggestion and feedback. I will...

Thanks for the suggestion and feedback. I will try to optimize again once back from holidays and keep you posted with the progress.

Sent using the NexusFi mobile app (https://on.futures.io/app)
Forum: Sierra Chart December 24th, 2020, 10:21 AM
Replies: 119
Views: 28,168
Posted By mosalem2003
Thanks a lot Bob... I am using here a very simple...

Thanks a lot Bob... I am using here a very simple concept for import a study subgraph. I did all the iterations suggested but for some reason the array is not imported correctly for only the...
Forum: Sierra Chart December 23rd, 2020, 08:39 PM
Replies: 119
Views: 28,168
Posted By mosalem2003
I tried many iterations and the only one that...

I tried many iterations and the only one that works is copy paste the Dochian channel study code as part of the system before the trading logic ..
What is interesting is that the import of the...
Forum: Sierra Chart December 23rd, 2020, 02:38 AM
Replies: 119
Views: 28,168
Posted By mosalem2003
Yes, there was calculation using the subgraph as...

Yes, there was calculation using the subgraph as in #22 but the performance of the study was not correct compared to another actual study that I coded in Spreadsheet..
Then, I did plot the variables...
Forum: Sierra Chart December 23rd, 2020, 02:06 AM
Replies: 119
Views: 28,168
Posted By mosalem2003
I do it in replay --- I added a spreadsheet to...

I do it in replay --- I added a spreadsheet to figure out that the arrays are empty.
I searched sc.GetStudyArrayUsingID empty and there are many similar issues that the support doesn't answer...
Showing results 1 to 25 of 40

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top