TGOR improved

This commit is contained in:
Sewmina 2025-01-07 22:06:32 +05:30
parent e30de24713
commit 803e1a6efc
13 changed files with 4 additions and 5 deletions

View File

@ -119,7 +119,7 @@ namespace SignalsTest
if(reports[reports.Count-1].TGOR){
Picasso.DrawChart(reports, max ,min, maxVol, symbol);
await Messenger.instance.SendLastChart(filename:symbol);
await Messenger.instance.SendMessage($"`{symbol}` dipped in a bull run. Current price: {reports[reports.Count-1].Close}");
await Messenger.instance.SendMessage($"`{symbol}` Price dropped. Current price: {reports[reports.Count-1].Close}");
}
}

View File

@ -34,11 +34,10 @@ public static class Patterns{
bullRunFlag++;
}
if(bullRunFlag > 2 && responses[i-1].Close < responses[i-1].Open){//It was a bull run
if(bullRunFlag > 2 && responses[i-1].Close > responses[i-1].Open){//It was a bull run
return true;
}
return true;
}
greenCount =0;
}else{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 90 KiB

View File

@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("SignalsTestCmd")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+24882fcb14b43473cc0bacefa4b7cdd7d36eeea9")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e30de2471325024a3d1beb937a02157b4f10643d")]
[assembly: System.Reflection.AssemblyProductAttribute("SignalsTestCmd")]
[assembly: System.Reflection.AssemblyTitleAttribute("SignalsTestCmd")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
4ce3378aafaf5daa560070e1168e48342c740decf5b68170cbe21ef852cf8fc3
d51df1548d76f8853335b1b69514870239705cd0805ac5ee723719964382763d