You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the MACD.ts file, within the update(_price: BigSource, replace: boolean = false): void | MACDResult method, the replace argument is not being applied correctly. Specifically, the line:
constsignal=this.signal.update(macd);
should be updated to:
constsignal=this.signal.update(macd,replace);
This change ensures that the replace flag is properly passed to the update method of this.signal.
The text was updated successfully, but these errors were encountered:
While working on fixing the MACD-related issue, I forked the repository and noticed that similar problems seem to exist in other parts of the codebase.
I might be misunderstanding the specific roles of each source file, but the files where I observed potential issues in the update function are:
AC.ts
ADX.ts
CCI.ts
StochasticRSI.ts
WSMA.ts
Given that similar problems appear in multiple places, I believe it would be better for someone familiar with the overall structure and purpose of each source file to conduct a comprehensive review. Additionally, there might be other similar issues in areas I haven't looked into yet.
In the MACD.ts file, within the update(_price: BigSource, replace: boolean = false): void | MACDResult method, the replace argument is not being applied correctly. Specifically, the line:
should be updated to:
This change ensures that the replace flag is properly passed to the update method of this.signal.
The text was updated successfully, but these errors were encountered: