Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Untitled
SUBMITTED BY:
Guest
DATE:
Jan. 13, 2015, 12:46 a.m.
FORMAT:
Text only
SIZE:
525 Bytes
Raw
Download
Tweet
HITS:
861
Go to comments
Report
# Donations: 16RdQZ86NUWQbE6rM86JbxnnaCDcAKqa9
def getTrend():
return getCurrentPrice()-getOldPrice()
def chekMax():
if getOldTrend()>0 and getCurrentTrend()<0:
return True
return False
def checkMax():
if getOldTrend()<0 and getCurrentTrend()>0:
return True
return False
def action():
if getTrend()>O and checkMin():
buy(0.01)
else if getTrend()<0 and checkMax():
sell(0.01)
Timer(300, action, ()).start()
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus