GithubHelp home page GithubHelp logo

cryptotradingbot's People

Contributors

jake0303 avatar payter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cryptotradingbot's Issues

Bot never enters in Long positions

Hi, now i have your latest code of Bot and DynamicSRLines for sure, but when I try it by Strategy Analyzer, then it never enters in Long positions, do you have any idea why? thx

image

L1ResistancePrice and L1SupportPrice missing

Hi, i think you have modified DynamicSRLines class because L1ResistancePrice and L1SupportPrice properties are missing. Could you please share it? Because your code doesn't work without that.

This Is my modification for that properties, but I'm not sure if its correct

if ( CurrentBar >= Bars.Count-2 && CurrentBar > MaxLookBackBars )
				{
					p = Close[0]; p1 = 0; str = "";
					for ( level=1; level <= MaxLevels ; level++)
					{
						p = get_sr_level (p,+1);
						Draw.Rectangle(this, "resZone"+level, false, 0, p-((ZoneTickSize*TickSize)/2), MaxLookBackBars, p+((ZoneTickSize*TickSize)/2), ColorAbove, ColorAbove, 30 );
						Draw.Line     (this, "resLine"+level, false, 0, p-((ZoneTickSize*TickSize)/2), MaxLookBackBars, p-((ZoneTickSize*TickSize)/2), ColorAbove, DashStyleHelper.Solid, 1);
						str = ( p == p1 ) ? str+" L"+level : "L"+level;	
						Draw.Text	  (this,  "resTag"+level, false , "\t    "+str , -5 , p , 0, ColorAbove, boldFont, TextAlignment.Right, Brushes.Transparent , Brushes.Transparent , 0 );
						p1 = p; p += (PivotTickDiff*TickSize);

						if(level == 1)
						{
							L1ResistancePrice = p - ((ZoneTickSize * TickSize) / 2);
						}

					}
					
					p = Close[0]; p1 = 0; str = "";
					for ( level = 1; level <= MaxLevels; level++)
					{
						p = get_sr_level (p, -1);
						Draw.Rectangle(this, "supZone"+level, false, 0, p-((ZoneTickSize*TickSize)/2), MaxLookBackBars, p+((ZoneTickSize*TickSize)/2), ColorBelow, ColorBelow, 30 );
						Draw.Line     (this, "supLine"+level, false, 0, p-((ZoneTickSize*TickSize)/2), MaxLookBackBars, p-((ZoneTickSize*TickSize)/2), ColorBelow, DashStyleHelper.Solid, 1);
						str = ( p == p1 ) ? str+" L"+level : "L"+level;	
						Draw.Text	  (this, "supTag"+level, false , "\t    "+str , -5 , p , 0, ColorBelow, boldFont, TextAlignment.Right, Brushes.Transparent , Brushes.Transparent , 0 );
						p1 = p; p -= (PivotTickDiff*TickSize);

						if (level == 1)
						{
							L1SupportPrice = p - ((ZoneTickSize * TickSize) / 2);
						}
					}
				}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.