NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 25 of 43
Search: Posts Made By: Trembling Hand
Forum: Sierra Chart April 21st, 2023, 02:36 AM
Replies: 119
Views: 28,162
Posted By Trembling Hand
I'm talking about the code posted to fix you...

I'm talking about the code posted to fix you work.
Forum: Sierra Chart April 20th, 2023, 08:40 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
So did the above code changes work?

So did the above code changes work?
Forum: Sierra Chart April 19th, 2023, 07:43 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Ok a second look and I see what you are trying to...

Ok a second look and I see what you are trying to do but its the wrong method.



A subgraph to store a single value is way too complicated. Just use a persistent int and reference it in the...
Forum: Sierra Chart April 19th, 2023, 07:18 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Sorry Looking at the code it seems like you are...

Sorry Looking at the code it seems like you are trying to do something very weird. My understanding from above is.


Chart 1 is the base chart
Chart 2 you want linked to Chart 1 by way of a...
Forum: Sierra Chart April 19th, 2023, 09:24 AM
Replies: 119
Views: 28,162
Posted By Trembling Hand
You don't need a study to do that. You can use...

You don't need a study to do that. You can use the link numbers and bar period and chart settings.
Forum: Sierra Chart April 19th, 2023, 06:26 AM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Impossible to tell without you posting your code...

Impossible to tell without you posting your code to check.
Forum: Sierra Chart January 29th, 2023, 05:18 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Thanks.[/QUOTE] The compiler is telling you...

Thanks.[/QUOTE]

The compiler is telling you whats wrong. Your function takes a C++ array but you are passing in a SCFloatArrayRef data structure. Change your function parameters to match what you...
Forum: Sierra Chart January 19th, 2023, 06:01 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Hi In C:\SierraChart\ACS_Source folder there is...

Hi
In C:\SierraChart\ACS_Source folder there is a .cpp called TradingSystem.cpp and in that file around line 1494 there is already a coded trading system based on crossovers called "Trading System -...
Forum: Sierra Chart January 19th, 2023, 05:58 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
The code for most of SC studies and trading...

The code for most of SC studies and trading systems are in C:\SierraChart\ACS_Source in .cpp files

That study is in Studies2.cpp around line 3757
Forum: Sierra Chart January 7th, 2023, 09:42 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Works for me in replay and I assume live too. Not...

Works for me in replay and I assume live too. Not on historical loading as the calculations are independent on loading.
Forum: Sierra Chart December 4th, 2022, 04:06 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
In the docs it shows a method you need. ...

In the docs it shows a method you need.
sc.GetLowest()
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html#scGetLowest

You want the lowest value (FloatArrayIn = sc.Low)...
Forum: Sierra Chart October 8th, 2022, 03:02 AM
Replies: 119
Views: 28,162
Posted By Trembling Hand
No too sure what your second point is but the...

No too sure what your second point is but the problems probably come from not setting your Bool variables correctly on initialization. This start up block should fix that.

You really should change...
Forum: Sierra Chart October 6th, 2022, 05:52 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
They are not meant to be used like that. In the...

They are not meant to be used like that. In the thousands of lines of code by SC I've never seen them use the SCInputRef as a variable. You should be using persistent int.



The issue is well...
Forum: Sierra Chart October 6th, 2022, 07:52 AM
Replies: 119
Views: 28,162
Posted By Trembling Hand
What are all these? And what are you trying to...

What are all these? And what are you trying to achieve with them?


L.SetYesNo(1);
x.SetYesNo(1);
S.SetYesNo(0);


Also are you sure they are doing what you expect? I'm guessing they are...
Forum: Sierra Chart October 5th, 2022, 06:56 AM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Far quicker to supply what you have already coded...

Far quicker to supply what you have already coded to see where you went wrong than a dump of 1 to 2 lines of code. Which will start multiple back and forth questions.
Forum: Sierra Chart February 25th, 2021, 08:06 AM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Not in front of my computer at the mo but C++...

Not in front of my computer at the mo but C++ classes finish with a semicolon at the end..
Forum: Sierra Chart January 29th, 2021, 11:38 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
The above code will return attached orders so if...

The above code will return attached orders so if you wan orders that are not attached to a parent order change this line to,

if (OrderDetails.ParentInternalOrderID == 0)//This means this is an...
Forum: Sierra Chart January 29th, 2021, 10:11 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Have a look at this section, ...

Have a look at this section,
https://www.sierrachart.com/index.php?page=doc/ACSILTrading.html#GettingOrderInformation
and...
Forum: Sierra Chart January 4th, 2021, 05:03 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Just rewrite a custom Donchian Channel study...

Just rewrite a custom Donchian Channel study without the Subgraph_HighestHigh.GraphicalDisplacement= 1 line.

I would be very careful of using systems with a Displacement in an array. That rings a...
Forum: Sierra Chart January 4th, 2021, 04:10 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
OK so the lesson here is a good one. ...

OK so the lesson here is a good one.


When writing code keep different function separate and test each one to ensure they work as expected.

IF they don't work as expected have a look at one...
Forum: Sierra Chart January 4th, 2021, 01:27 AM
Replies: 119
Views: 28,162
Posted By Trembling Hand
OMG! 2021-01-04 17_26_05-Window ...

OMG!


2021-01-04 17_26_05-Window
https://nexusfi.com/attachment.php?attachmentid=307862


Thats why it aint aligned!!!!! :pcguru:
Forum: Sierra Chart January 3rd, 2021, 11:59 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
I'll have a look tomorrow but what bar date and...

I'll have a look tomorrow but what bar date and time is that example from?

Also I'd remove the once per bar code in the Accumulation Trading Algo as well as change sc.CalculationPrecedence =...
Forum: Sierra Chart January 3rd, 2021, 10:37 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
!!!! MATE Please slowly go through each...

!!!!

MATE

Please slowly go through each bar and print to log the values as they process. That is THE ONLY WAY to debug!!!!!

Its all pretty easy to do, I've even given you debug code...
Forum: Sierra Chart January 3rd, 2021, 05:52 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Just to be clear I didn't change any of your...

Just to be clear I didn't change any of your calculation logic. Just separated them into two studies to be able to easily test and visualise the different sections.

Let me know the outcome.
Forum: Sierra Chart January 3rd, 2021, 04:58 PM
Replies: 119
Views: 28,162
Posted By Trembling Hand
Ok. I think its working correctly mosalem2003...

Ok. I think its working correctly mosalem2003 just spent 15 min banging this together and checking seems to fire when it should, though I don't know what setting you have on your study to replicate...
Showing results 1 to 25 of 43

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