IsGreen, IsRed, BarColor Help please
Created at 02 Feb 2015, 16:25
AM
IsGreen, IsRed, BarColor Help please
02 Feb 2015, 16:25
Hi, I'm new to c# and cbots. I have a small question please !
Where to declare a function ? and do you think this code is correct ?
public static bool IsGreen(this DataSeries series) { return series.Close[series.Count - 2] > series.Open[series.Count - 2]; }
Thank you,
Replies
Spotware
10 Feb 2015, 10:16
Dear Trader,
Currently we do not provide the Engage service. We can recommend you to check the following resources:
- API Guides - /api/guides/
- API Reference - /api/reference/
- cAlgo help videos - http://help.spotware.com/calgo
- Writing your first cBot with cAlgo - https://www.youtube.com/watch?v=kOwrC0IkcNc
@Spotware
Amine_Bachouti
02 Feb 2015, 18:58
And how can we say
@Amine_Bachouti